Skip to content

Commit 5628afb

Browse files
committed
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: Fix #81327: Error build openssl extension on php 7.4.22
2 parents 213ad54 + 6724d5d commit 5628afb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ PHP NEWS
3232
. Fixed bug #81226 (Integer overflow behavior is different with JIT
3333
enabled). (Dmitry)
3434

35+
- OpenSSL:
36+
. Fixed bug #81327 (Error build openssl extension on php 7.4.22). (cmb)
37+
3538
- PDO_ODBC:
3639
. Fixed bug #81252 (PDO_ODBC doesn't account for SQL_NO_TOTAL). (cmb)
3740

ext/openssl/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3236,7 +3236,7 @@ PHP_FUNCTION(openssl_csr_sign)
32363236
goto cleanup;
32373237
}
32383238

3239-
#if PHP_OPENSSL_API_VERSION >= 0x10100
3239+
#if PHP_OPENSSL_API_VERSION >= 0x10100 && !defined (LIBRESSL_VERSION_NUMBER)
32403240
ASN1_INTEGER_set_int64(X509_get_serialNumber(new_cert), serial);
32413241
#else
32423242
ASN1_INTEGER_set(X509_get_serialNumber(new_cert), serial);

0 commit comments

Comments
 (0)