warning about entropy.

git-svn-id: file:///svn/unbound/trunk@828 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2008-01-09 12:04:20 +00:00
parent a0e442eb32
commit 1b6d254224

View file

@ -110,6 +110,7 @@ ub_initstate(unsigned int seed, struct ub_randstate* state,
ERR_get_error());
return 0;
}
log_warn("openssl has no entropy, seeding with time");
}
ub_arc4random_stir(state->s);
return 1;