You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2026/09/13 00:00:00 UTC

[jira] [Resolved] (THRIFT-6174) Enable TSSLSocket to build with OpenSSL 4.0

     [ 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 <se...@breakpoint.cc>
- Jaipaul Cheernam <ja...@est.tech>
- Brad Smith <br...@comstyle.com>
- loqs <75...@users.noreply.github.com>
- Finn R. Gärtner <65...@users.noreply.github.com>
- Claude Opus 5 <no...@anthropic.com>

> 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)