mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Merge branch 'PHP-8.0'
* PHP-8.0: Fix #81327: Error build openssl extension on php 7.4.22
This commit is contained in:
commit
86bc48c9e7
@ -3213,7 +3213,7 @@ PHP_FUNCTION(openssl_csr_sign)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
#if PHP_OPENSSL_API_VERSION >= 0x10100
|
||||
#if PHP_OPENSSL_API_VERSION >= 0x10100 && !defined (LIBRESSL_VERSION_NUMBER)
|
||||
ASN1_INTEGER_set_int64(X509_get_serialNumber(new_cert), serial);
|
||||
#else
|
||||
ASN1_INTEGER_set(X509_get_serialNumber(new_cert), serial);
|
||||
|
Loading…
Reference in New Issue
Block a user