Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed broken build when EC unavailable
This commit is contained in:
Daniel Lowrey 2014-02-17 19:39:43 -05:00
commit 491d492ada

2
ext/openssl/openssl.c Normal file → Executable file
View File

@ -3468,7 +3468,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);