summaryrefslogtreecommitdiffstats
path: root/include/internal/cryptlib.h
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2018-09-13 18:25:37 +0200
committerBernd Edlinger <bernd.edlinger@hotmail.de>2018-09-23 08:26:19 +0200
commit0f58220973a02248ca5c69db59e615378467b9c8 (patch)
treedb05a3cf14bf54a8805ebf1e59e0c80c6862f475 /include/internal/cryptlib.h
parenttypo-fixes: miscellaneous typo fixes (diff)
downloadopenssl-0f58220973a02248ca5c69db59e615378467b9c8.tar.xz
openssl-0f58220973a02248ca5c69db59e615378467b9c8.zip
Create the .rnd file it it does not exist
It's a bit annoying, since some commands try to read a .rnd file, and print an error message if the file does not exist. But previously a .rnd file was created on exit, and that does no longer happen. Fixed by continuing in app_RAND_load_conf regardless of the error in RAND_load_file. If the random number generator is still not initalized on exit, the function RAND_write_file will fail and no .rnd file would be created. Remove RANDFILE from openssl.cnf Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/7217)
Diffstat (limited to 'include/internal/cryptlib.h')
0 files changed, 0 insertions, 0 deletions