]> git.ipfire.org Git - thirdparty/krb5.git/commit
Improve error message for PRNG seeding failure
authorGreg Hudson <ghudson@mit.edu>
Wed, 16 Jul 2014 00:23:15 +0000 (20:23 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 16 Jul 2014 01:19:33 +0000 (21:19 -0400)
commit4f41a0d4a6a62439f21aacdd650595a065f15056
tree16f729bda6dab94cd01dcb963fee23399f51378a
parent0db9cc6b01f979089aca324cccca7ee8cff62dc3
Improve error message for PRNG seeding failure

In prng_fortuna.c, if krb5_c_random_make_octets detects that we do not
have entropy, set an error message saying that the random number
generator could not be seeded, as we likely failed previously to read
from /dev/urandom or the Windows equivalent.

ticket: 7968 (new)
src/lib/crypto/krb/prng_fortuna.c