Skip to content

[2.4.x] mod_ssl: fix compat with OpenSSL 1.0 - #742

Open
notroj wants to merge 1 commit into
apache:2.4.xfrom
notroj:2.4.x-ossl1.0
Open

[2.4.x] mod_ssl: fix compat with OpenSSL 1.0#742
notroj wants to merge 1 commit into
apache:2.4.xfrom
notroj:2.4.x-ossl1.0

Conversation

@notroj

@notroj notroj commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

…mber

The compat macros added in 83d565f for pre-1.1.0 OpenSSL used incorrect
names (X509_get0_before/X509_get0_after) which don't match the actual
API names used in the code (X509_get0_notBefore/X509_get0_notAfter).
This caused link failures when building against OpenSSL 1.0.2.

Also add missing X509_get0_serialNumber compat macro which was used in
ssl_engine_log.c but never shimmed for pre-1.1.0.

Submitted by: Craig Lorentzen <crlorent amazon.com>
Github: closes apache#673

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1935577 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 5ed7719)
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