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

Don't include engine.h when OPENSSL_NO_ENGINE is defined #124

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

Conversation

art049
Copy link
Member

@art049 art049 commented Jul 22, 2024

This pull request was created automatically by CodSpeed to track performance changes of the pull request pyca/cryptography#11328.

The original branch is fork-11328-tiran/engine-include

Copy link

codspeed-hq bot commented Jul 22, 2024

CodSpeed Performance Report

Merging #124 will not alter performance

Comparing fork-11328-tiran/engine-include (7a1927b) with main (8250f67)

Summary

✅ 20 untouched benchmarks

@art049 art049 force-pushed the fork-11328-tiran/engine-include branch from 656defc to 85f2ae2 Compare July 22, 2024 07:20
Fedora 41 and RHEL 10 are deprecating and phasing out OpenSSL ENGINE
support. Downstream has moved `openssl/engine.h` into a separate RPM
package and is recompiling packages with `-DOPENSSL_NO_ENGINE=1`. The
compiler flag disables PyCA cryptography's ENGINE support successfully.
We also like to build the downstream package without the `engine.h`
header file present.

This commit makes the include conditional. The `ENGINE` type is
defined in `openssl/types.h`.

See: https://src.fedoraproject.org/rpms/openssl/c/e67e9d9c40cd2cb9547e539c658e2b63f2736762?branch=rawhide
See: https://issues.redhat.com/browse/RHEL-33747
Signed-off-by: Christian Heimes <christian@python.org>
@art049 art049 force-pushed the fork-11328-tiran/engine-include branch from 85f2ae2 to 7a1927b Compare July 22, 2024 07:40
@art049 art049 force-pushed the main branch 7 times, most recently from 9e8ae8f to 8f15758 Compare July 24, 2024 10:50
@coco-speed coco-speed force-pushed the main branch 19 times, most recently from a1fb772 to a961beb Compare July 31, 2024 10:55
@coco-speed coco-speed force-pushed the main branch 27 times, most recently from 94b8b3a to 35a0d9c Compare September 6, 2024 11:05
@coco-speed coco-speed force-pushed the main branch 3 times, most recently from 619c8f2 to ce42b9b Compare September 7, 2024 02:40
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.

2 participants