Fix a Fortuna PRNG failure case
authorGreg Hudson <ghudson@mit.edu>
Mon, 3 Oct 2011 19:32:28 +0000 (19:32 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 3 Oct 2011 19:32:28 +0000 (19:32 +0000)
commit1236b9e96d7a3522517a0e2eb8dfa752709ccf9a
tree3c4c2bde9df8e9b7e6443072dec9486c5c69f5ad
parent1329c7742c951596efbf06186828a14155194993
Fix a Fortuna PRNG failure case

If we don't have entropy when krb5_c_random_make_octets is called,
unlock the mutex before returning an error.  From
kevin.wasserman@painless-security.com.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25295 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/krb/prng_fortuna.c