-
Notifications
You must be signed in to change notification settings - Fork 851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPENSSL_API_COMPAT is not defined by OpenSSL 3.0 #977
Comments
…t accordingly OPENSSL_API_COMPAT is to be set by the module including OpenSSL header to request a certain API level compatibility, and starting with OpenSSL 3, it's no more defined by OpenSSL header to the default API level. OPENSSL_VERSION_NUMBER must be used instead. Fixes the-tcpdump-group#977 Signed-off-by: Yann Droneaud <[email protected]>
The whole code looks like this: Lines 674 to 687 in 9ff9f78
Given that OpenSSL 1.0.2 is no longer supported except with paid support contracts (Release Strategy), is it worth still maintaining this Also, the OpenSSL_add_all_algorithms man page, versions 1.1 and newer, reads:
|
With OpenSSL 3.0, it's really up to the application to define
OPENSSL_API_COMPAT
, and when compiling tcpdump,OPENSSL_API_COMPAT
is not defined, thus the check inesp_init()
is incorrect:tcpdump/print-esp.c
Line 683 in 9ff9f78
When compiled against OpenSSL 3.0.1 built with
--api=1.1.1
andno-deprecated
configuration options,OpenSSL_add_all_algorithms()
is not defined, and build fail:The text was updated successfully, but these errors were encountered: