Skip to content

(chore): Revert "feat(build): Improve OpenSSL libcrypto discovery (#5572)"#5664

Merged
maddeleine merged 2 commits intoaws:mainfrom
maddeleine:revert_cmake_change
Dec 12, 2025
Merged

(chore): Revert "feat(build): Improve OpenSSL libcrypto discovery (#5572)"#5664
maddeleine merged 2 commits intoaws:mainfrom
maddeleine:revert_cmake_change

Conversation

@maddeleine
Copy link
Copy Markdown
Contributor

@maddeleine maddeleine commented Dec 10, 2025

This reverts commit 13f8249.

Goal

Reverting the recent changes to our cmake libcrypto discovery module.

Why

This change causes linker errors with crt. The problem seems to be that when crt is built with ENABLE_SHARED_LIBS=on, we get errors like "libaws-c-cal.so.1.0.0: undefined reference to `EVP_CIPHER_CTX_reset@OPENSSL_1_1_0". I suspect that the reason why we didn't catch this in our CI is that our crt build doesn't do a shared libs build.

How

Just a direct revert of the PR.

Callouts

I do think we need this change eventually, but if this will cause issues with the CRT then we probably need to just revert this right now. We probably need a more sophisticated way of testing crt in our CI.

Testing

N/A

Related

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

@github-actions github-actions bot added the s2n-core team label Dec 10, 2025
@maddeleine maddeleine marked this pull request as ready for review December 11, 2025 23:09
@maddeleine maddeleine requested a review from dougch as a code owner December 11, 2025 23:09
@maddeleine maddeleine added this pull request to the merge queue Dec 12, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 12, 2025
@maddeleine maddeleine added this pull request to the merge queue Dec 12, 2025
Merged via the queue into aws:main with commit ca8f52e Dec 12, 2025
54 checks passed
@maddeleine maddeleine deleted the revert_cmake_change branch December 12, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants