Fix SSL init order, change *ssl-rand-file* behaviour..
commit77d4f5c9566bb5d0f7d438628fdd4847d1eb06ba
authorSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Tue, 2 Feb 2016 16:55:46 +0000 (2 17:55 +0100)
committerSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Thu, 15 Sep 2016 13:57:04 +0000 (15 15:57 +0200)
tree5912864e7b085f2b7908dc5f0dec1a8fc5c7ffe2
parent359ce99dc7c048c09659d687fba472cf6f2ba210
Fix SSL init order, change *ssl-rand-file* behaviour..

For one we have initialized the error strings after the SSL
library initialization.

Change behaviour of *ssl-rand-file*: if we cannot use this one,
use the SSL builtin path if, and only if, RAND_status() says that
the PRNG is not yet seeded.

Also, when loading RAND_load_file() is used and succeeds,
RAND_seed() in at least one chunk of homebrew "random" data before
saving the file.
nail.1
openssl.c