summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lowrey <rdlowrey@php.net>2014-02-17 18:55:39 -0500
committerDaniel Lowrey <rdlowrey@php.net>2014-02-17 18:55:39 -0500
commita80cec1190e18cf8f23a7786de59e76e7f9fa022 (patch)
tree6ca8485e3393f1c23fad54eda751b62055726c01
parentb04159eed4c64572602ebafb6c94ad7df209e9f6 (diff)
downloadphp-git-a80cec1190e18cf8f23a7786de59e76e7f9fa022.tar.gz
Fixed broken build when EC unavailable
-rwxr-xr-x[-rw-r--r--]ext/openssl/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index a6e4d03157..3e60cd505b 100644..100755
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -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);