[ 
https://issues.apache.org/jira/browse/THRIFT-6174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-6174.
--------------------------------
    Fix Version/s: 0.25.0
         Assignee: Jens Geyer
       Resolution: Fixed

Co-Authored-By: 
- Sebastian Andrzej Siewior <[email protected]>
- Jaipaul Cheernam <[email protected]>
- Brad Smith <[email protected]>
- loqs <[email protected]>
- Finn R. Gärtner <[email protected]>
- Claude Opus 5 <[email protected]>

> 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
>          Components: C++ - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.25.0
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to