Engine cleanup and hardening #226
Open
aidangarske wants to merge 42 commits into
Open
Conversation
aidangarske
commented
Jun 17, 2026
Member
… absent OpenSSL 1.1.1 only provides EVP_aes_128_cbc_hmac_sha256() on platforms where it has a hand-written stitched implementation (notably AES-NI on x86_64). On every other build it returns NULL, so EVP_DecryptInit_ex fails with "no cipher set" before the engine path is ever exercised and the test asserts an unrelated failure. Detect the NULL cipher and return success so the suite is portable to non-x86_64 agents and to x86_64 VMs without AES-NI passthrough.
1c1a90e to
0a8e791
Compare
…" because its test_hmac_empty_raw_key crashes the Non FIPSv2 CI job with a double free on OpenSSL 1.1.1b.
f7f7274 to
5fdc1ca
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.