Jens Geyer created THRIFT-6174:
----------------------------------
Summary: Enable TSSLSocket to build with OpenSSL 4.0
Key: THRIFT-6174
URL: https://issues.apache.org/jira/browse/THRIFT-6174
Project: Thrift
Issue Type: Improvement
Reporter: Jens Geyer
OpenSSL 4.0 removes SSLv3_method() and per-version TLS method functions
(TLSv1_method, TLSv1_1_method, TLSv1_2_method), the deprecated
ASN1_STRING_data() function, and returns const pointers from
X509_get_subject_name(), X509_NAME_get_entry(), and X509_NAME_ENTRY_get_data().
* Guard SSLv3_method and TLS version methods with version check
* Replace ASN1_STRING_data with ASN1_STRING_get0_data
* Add const qualifiers for X509_NAME, X509_NAME_ENTRY, ASN1_STRING
This is backward-compatible with OpenSSL >= 1.1.0 since all replacement APIs
exist since that version.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)