Skip to content

Commit a80cec1

Browse files
committed
Fixed broken build when EC unavailable
1 parent b04159e commit a80cec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/openssl.c

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -3014,7 +3014,7 @@ static int php_openssl_is_private_key(EVP_PKEY* pkey TSRMLS_DC)
30143014
}
30153015
break;
30163016
#endif
3017-
#ifdef EVP_PKEY_EC
3017+
#if OPENSSL_VERSION_NUMBER >= 0x0090800fL && !defined(OPENSSL_NO_EC) && defined(EVP_PKEY_EC)
30183018
case EVP_PKEY_EC:
30193019
assert(pkey->pkey.ec != NULL);
30203020

0 commit comments

Comments
 (0)