Skip to content

Commit 86bc48c

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Fix #81327: Error build openssl extension on php 7.4.22
2 parents 384ad6e + 5628afb commit 86bc48c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3213,7 +3213,7 @@ PHP_FUNCTION(openssl_csr_sign)
32133213
goto cleanup;
32143214
}
32153215

3216-
#if PHP_OPENSSL_API_VERSION >= 0x10100
3216+
#if PHP_OPENSSL_API_VERSION >= 0x10100 && !defined (LIBRESSL_VERSION_NUMBER)
32173217
ASN1_INTEGER_set_int64(X509_get_serialNumber(new_cert), serial);
32183218
#else
32193219
ASN1_INTEGER_set(X509_get_serialNumber(new_cert), serial);

0 commit comments

Comments
 (0)