Skip to content

Commit

Permalink
ext/openssl: fix libressl build.
Browse files Browse the repository at this point in the history
Close GH-12919
  • Loading branch information
devnexen committed Jan 14, 2024
1 parent 97c6da1 commit 5e2a586
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions NEWS
Expand Up @@ -10,6 +10,10 @@ PHP NEWS
. Fixed bug GH-12996 (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when
plus in path). (Jakub Zelenka)

- OpenSSL:
. Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set.
(David Carlier).

- Phar:
. Fixed bug #71465 (PHAR doesn't know about litespeed). (nielsdos)

Expand Down
2 changes: 1 addition & 1 deletion ext/openssl/openssl.c
Expand Up @@ -61,7 +61,7 @@
#include <openssl/param_build.h>
#endif

#if OPENSSL_VERSION_NUMBER < 0x10100000L && !defined(OPENSSL_NO_ENGINE)
#if (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) && !defined(OPENSSL_NO_ENGINE)
#include <openssl/engine.h>
#endif

Expand Down

0 comments on commit 5e2a586

Please sign in to comment.