mirror of
https://github.com/php/php-src.git
synced 2024-12-03 06:44:07 +08:00
Fixed broken build when EC unavailable
This commit is contained in:
parent
b04159eed4
commit
a80cec1190
2
ext/openssl/openssl.c
Normal file → Executable file
2
ext/openssl/openssl.c
Normal file → Executable file
@ -3014,7 +3014,7 @@ static int php_openssl_is_private_key(EVP_PKEY* pkey TSRMLS_DC)
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
#ifdef EVP_PKEY_EC
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x0090800fL && !defined(OPENSSL_NO_EC) && defined(EVP_PKEY_EC)
|
||||
case EVP_PKEY_EC:
|
||||
assert(pkey->pkey.ec != NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user