1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02: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:
Christoph M. Becker
2021-08-04 18:45:56 +02:00
+1 -1
View File
@@ -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);