Skip to content

[WIP] Test with various crypto engines for 1.1.1#16750

Closed
bernd-edlinger wants to merge 1 commit intoopenssl:OpenSSL_1_1_1-stablefrom
bernd-edlinger:enable_crypto_engines_test_1
Closed

[WIP] Test with various crypto engines for 1.1.1#16750
bernd-edlinger wants to merge 1 commit intoopenssl:OpenSSL_1_1_1-stablefrom
bernd-edlinger:enable_crypto_engines_test_1

Conversation

@bernd-edlinger
Copy link
Member

Enable these crypto engines always when available:

- afalg
- padlock
- dasync

Where dasync will have lowest precedence.

@bernd-edlinger bernd-edlinger added the branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) label Oct 5, 2021
@bernd-edlinger
Copy link
Member Author

this is WIP and contains the fix from #16751 otherwise it would not pass the CI tests, mostly on windows.

@t8m t8m added the triaged: bug The issue/pr is/fixes a bug label Oct 6, 2021
@bernd-edlinger bernd-edlinger force-pushed the enable_crypto_engines_test_1 branch from d2b1bb5 to b2bb98d Compare November 17, 2021 07:23
Copy link
Contributor

Choose a reason for hiding this comment

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

Really? Why?

Copy link
Member Author

Choose a reason for hiding this comment

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

The error handling here is broken, if I simulate an error from ENGINE_add something terribly bad happens.
ENGINE_by_id start to return an invalid engine reference, but the caller does not know that it
should not use this engine for ENGINE_set_default(e, ENGINE_METHOD_ALL); and friends.

@bernd-edlinger bernd-edlinger force-pushed the enable_crypto_engines_test_1 branch 5 times, most recently from f51ab09 to b0916da Compare November 23, 2021 05:40
Enable these crypto engines always when available:

- afalg
- padlock
- dasync

Where dasync will have lowest precedence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) triaged: bug The issue/pr is/fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants