Skip to content

Don't define/use OpenSSL*Callback() for/in OpenSSL > v1.1 #9730

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Al2Klimov
Copy link
Member

Since OpenSSL v1.1 the macros they're passed to expand to nothing creating the illusion those functions aren't used. That triggers compiler warnings.

@Al2Klimov Al2Klimov added the core/quality Improve code, libraries, algorithms, inline docs label Mar 24, 2023
@Al2Klimov Al2Klimov added this to the 2.14.0 milestone Mar 24, 2023
@Al2Klimov Al2Klimov self-assigned this Mar 24, 2023
@cla-bot cla-bot bot added the cla/signed label Mar 24, 2023
@Al2Klimov
Copy link
Member Author

Reference: openssl/openssl#1260 (comment)

@Al2Klimov Al2Klimov requested a review from julianbrost March 24, 2023 14:48
@Al2Klimov Al2Klimov removed their assignment Mar 24, 2023
@Al2Klimov Al2Klimov removed this from the 2.14.0 milestone Mar 30, 2023
@Al2Klimov Al2Klimov force-pushed the don-t-define-use-openssl-callback-for-in-openssl-v1-1 branch from 8441737 to 91a4d0a Compare January 31, 2025 16:00
Since OpenSSL v1.1 the macros they're passed to expand to nothing creating
the illusion those functions aren't used. That triggers compiler warnings.
@Al2Klimov Al2Klimov force-pushed the don-t-define-use-openssl-callback-for-in-openssl-v1-1 branch from 91a4d0a to 8a475b6 Compare April 22, 2025 11:52
Copy link
Contributor

@jschmidt-icinga jschmidt-icinga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've already looked at the associated discussion when you first assigned me to review this, and it looks pretty straight-forward from my POV, since as you say, the macros currently don't do anything.

However, since I'm not entirely in the picture of the range of supported SSL versions, I'd ask you to maybe not rely on my review/approval alone.

@Al2Klimov Al2Klimov added this to the 2.16.0 milestone Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed core/quality Improve code, libraries, algorithms, inline docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants