From: Ilia Alshanetsky Date: Thu, 12 Dec 2002 18:36:44 +0000 (+0000) Subject: Fixed ZTS build. X-Git-Tag: php-4.3.0RC4~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58613036fbdbada201bdf3565454ae46170adf58;p=php Fixed ZTS build. --- diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 41a5cf5787..33822f7157 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;