We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b04159e commit a80cec1Copy full SHA for a80cec1
ext/openssl/openssl.c
100644
100755
@@ -3014,7 +3014,7 @@ static int php_openssl_is_private_key(EVP_PKEY* pkey TSRMLS_DC)
3014
}
3015
break;
3016
#endif
3017
-#ifdef EVP_PKEY_EC
+#if OPENSSL_VERSION_NUMBER >= 0x0090800fL && !defined(OPENSSL_NO_EC) && defined(EVP_PKEY_EC)
3018
case EVP_PKEY_EC:
3019
assert(pkey->pkey.ec != NULL);
3020
0 commit comments