GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ext/openssl: 8.2.31+/8.3.31+ fail to build against OpenSSL 1.0.2 (ASN1_STRING_get0_data in xp_ssl.c) · Issue #25402 · php/php-src Open DescriptionDescriptionPHP 8.2.31+ and 8.3.31+ no longer compile against OpenSSL 1.0.2, though both branches still accept it ( To reproduce, build PHP 8.3.36 (or any 8.3.31+ or 8.2.31+) Resulted in this output: But I expected the build to succeed, as it does with 8.3.30 / 8.2.30 against the same OpenSSL. Cause: 19255f4 ("Backport compatibility changes for OpenSSL 4.0") changed the IP SAN code in Suggested fix: the same fallback in --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -36,6 +36,10 @@ #include <openssl/bn.h> #include <openssl/dh.h> +#if PHP_OPENSSL_API_VERSION < 0x10100 +# define ASN1_STRING_get0_data(asn1) ((const unsigned char *)M_ASN1_STRING_data(asn1)) +#endif + #ifdef PHP_WIN32 #include "win32/winutil.h" #include "win32/time.h" With that applied, 8.3.36 builds on CentOS 7 against OpenSSL 1.0.2k. A verified TLS connection to a server whose certificate's only SAN is PHP VersionOperating SystemCentOS 7 (OpenSSL 1.0.2k) Activity
MetadataMetadataAssigneesTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |