mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 23:01:24 +02:00
MINOR: init: load OpenSSL error strings
Load OpenSSL Error strings in order to be able to output reason strings. This is mandatory to be able to use ERR_reason_error_string().
This commit is contained in:
parent
c1640f79fe
commit
3b8bafd4a7
@ -2222,8 +2222,10 @@ static void init(int argc, char **argv)
|
|||||||
cfg_run_diagnostics();
|
cfg_run_diagnostics();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize the random generators */
|
|
||||||
#ifdef USE_OPENSSL
|
#ifdef USE_OPENSSL
|
||||||
|
/* Initialize the error strings of OpenSSL */
|
||||||
|
SSL_load_error_strings();
|
||||||
|
|
||||||
/* Initialize SSL random generator. Must be called before chroot for
|
/* Initialize SSL random generator. Must be called before chroot for
|
||||||
* access to /dev/urandom, and before ha_random_boot() which may use
|
* access to /dev/urandom, and before ha_random_boot() which may use
|
||||||
* RAND_bytes().
|
* RAND_bytes().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user