From: Marcus Boerger Date: Fri, 13 Dec 2002 09:17:04 +0000 (+0000) Subject: MFB: ZTS fix by Ilia X-Git-Tag: PHP_5_0_dev_before_13561_fix~726 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95c701d3283adb74d3f3586320dc95c8b8f4c62d;p=php MFB: ZTS fix by Ilia --- diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 61f781eea5..3ae43c6c61 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1685,7 +1685,7 @@ static EVP_PKEY * php_openssl_evp_from_zval(zval ** val, int public_key, char * } else if (type == le_key) { /* check whether it is actually a private key if requested */ - if (!public_key && !php_openssl_is_private_key((EVP_PKEY*)what)) + if (!public_key && !php_openssl_is_private_key((EVP_PKEY*)what TSRMLS_CC)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "supplied key param is a public key"); return NULL;