Skip to content

fix: OpenSSL 3 "no-deprecated" support - #246

Open
MaikeR-TV wants to merge 1 commit into
awslabs:mainfrom
MaikeR-TV:openssl-update
Open

fix: OpenSSL 3 "no-deprecated" support#246
MaikeR-TV wants to merge 1 commit into
awslabs:mainfrom
MaikeR-TV:openssl-update

Conversation

@MaikeR-TV

Copy link
Copy Markdown

Issue #, if available:
In order to build with OpenSSL 3.6 (api 1.1.1 but no deprecations), new OpenSSL functions need to be used.

Description of changes:

  • SSLeay_version(SSLEAY_VERSION) is replaced by OpenSSL_version(OPENSSL_VERSION)
  • EVP_CIPHER_CTX_cleanup is replaced by EVP_CIPHER_CTX_reset
  • OpenSSL 1.1.1 and newer handles locking internally so it can be skipped instead of only ignoring the warnings

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

SSLeay_version(SSLEAY_VERSION) is replaced by OpenSSL_version(OPENSSL_VERSION).
EVP_CIPHER_CTX_cleanup is replaced by EVP_CIPHER_CTX_reset.
OpenSSL 1.1.1 and newer handles locking internally so it can be skipped instead of only ignoring the warnings.
@MaikeR-TV MaikeR-TV changed the title Support OpenSSL 3.6 fix: OpenSSL 3 "no-deprecated" support Mar 12, 2026
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.

1 participant