]> granicus.if.org Git - php/commitdiff
Fixed broken build when EC unavailable
authorDaniel Lowrey <rdlowrey@php.net>
Mon, 17 Feb 2014 23:55:39 +0000 (18:55 -0500)
committerDaniel Lowrey <rdlowrey@php.net>
Mon, 17 Feb 2014 23:55:39 +0000 (18:55 -0500)
ext/openssl/openssl.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index a6e4d03..3e60cd5
@@ -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);