Skip to content
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

Avoid using APIs deprecated in OpenSSL 3.0 #48

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

Conversation

cgutman
Copy link

@cgutman cgutman commented Nov 28, 2022

This PR fixes OpenSSL 3.0 API deprecation warnings (or errors, if OpenSSL 3.0 was compiled without deprecated APIs). Most of the API changes were trivial 1:1 replacements, but the EVP MAC API is a little more complex than the old HMAC API was.

In this change, I also reordered the __APPLE__ checks to avoid creating a mess of nested #ifs.

Verified teststuncode is passing with both OpenSSL 3.0 and OpenSSL 1.1.1.

@jselbie
Copy link
Owner

jselbie commented Nov 28, 2022 via email

Repository owner deleted a comment from Neustradamus Aug 17, 2023
@muink
Copy link

muink commented Jul 19, 2024

Is this PR ready for merging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants