Fixed broken build when EC unavailable

This commit is contained in:
Daniel Lowrey 2014-02-17 18:55:39 -05:00
parent b04159eed4
commit a80cec1190

2
ext/openssl/openssl.c Normal file → Executable file
View 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);