mirror of
https://repo.or.cz/socat.git
synced 2025-07-14 07:23:23 +00:00
With OPENSSL_API_COMPAT=0x10000000L the files openssl/dh.h, openssl/bn.h must be included
This commit is contained in:
parent
9209312c3c
commit
b7a277472b
7 changed files with 49 additions and 10 deletions
|
@ -956,14 +956,21 @@ int
|
|||
|
||||
openssl_delete_cert_info();
|
||||
|
||||
/* OpenSSL preparation */
|
||||
#if HAVE_OPENSSL_init_ssl
|
||||
{
|
||||
OPENSSL_INIT_SETTINGS *settings;
|
||||
settings = OPENSSL_INIT_new();
|
||||
sycOPENSSL_init_ssl(0, settings);
|
||||
}
|
||||
#else
|
||||
sycSSL_library_init();
|
||||
OpenSSL_add_all_algorithms();
|
||||
OpenSSL_add_all_ciphers();
|
||||
OpenSSL_add_all_digests();
|
||||
sycSSL_load_error_strings();
|
||||
#endif
|
||||
|
||||
/* OpenSSL preparation */
|
||||
sycSSL_library_init();
|
||||
|
||||
/*! actions_to_seed_PRNG();*/
|
||||
|
||||
if (!server) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue