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)
if (!have_entropy) {
k5_mutex_unlock(&fortuna_lock);
+ if (context != NULL) {
+ k5_set_error(&context->err, KRB5_CRYPTO_INTERNAL,
+ _("Random number generator could not be seeded"));
+ }
return KRB5_CRYPTO_INTERNAL;
}