Re: [PATCH] allow tls_randfile to be a file or a character device
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: [PATCH] allow tls_randfile to be a file or a character device
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: [PATCH] allow tls_randfile to be a file or a character device
- Date: Fri, 13 Nov 2015 14:12:31 +0100
On Tue, 2015-11-10 at 14:42 -0800, Patrick McLean wrote:
> It looks like this check is still failing if tls_randfile points
> to /dev/urandom. From looking at the code, check_readable checks for
> a regular file:
> if (!S_ISREG(sb.st_mode))
Thanks for pointing this out. I think I meant to use the access check
in check_readable() but ended up with the check_file() code. Fixed
in fcea92d.
Thanks,
--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org/ --
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/