From here, most structures are opaque structs and we need to use
accessor methods. Some functions are depreacted, notably
RSA_generate_key() (replaced by RSA_generate_key_ex()).
TLSv1_method() is also deprecated. It should be replaced by
TLS_method() which is equivalent to SSLv23_method(). Therefore, we
only use SSLv23_method() and we use options to disable SSLv2 and SSLv3
as requested.
The code still works with OpenSSL 1.0.2j. I can test with older versions if needed. What would be the minimal supported version?
From here, most structures are opaque structs and we need to use accessor methods. Some functions are depreacted, notably
RSA_generate_key()
(replaced byRSA_generate_key_ex()
).TLSv1_method()
is also deprecated. It should be replaced byTLS_method()
which is equivalent toSSLv23_method()
. Therefore, we only useSSLv23_method()
and we use options to disable SSLv2 and SSLv3 as requested.The code still works with OpenSSL 1.0.2j. I can test with older versions if needed. What would be the minimal supported version?
Fix #28.