summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 04:58:07 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 04:58:07 +0000
commit7b1c4006312aca67308d72068364e3666219fd41 (patch)
tree3c88ac98c7bd5977fbf45e2609affbae8185af5f /ext/openssl
parent8ce8324e5907d9a08789b9a4bea3f1622057932a (diff)
downloadphp-git-7b1c4006312aca67308d72068364e3666219fd41.tar.gz
More TSRMLS_FETCH annihilation (Zend compatibility patch)
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index 00264f0464..e2deb4b115 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -202,7 +202,7 @@ static X509 * php_openssl_x509_from_zval(zval ** val, int makeresource, long * r
void * what;
int type;
- what = zend_fetch_resource(val, -1, "OpenSSL X.509", &type, 1, le_x509);
+ what = zend_fetch_resource(val TSRMLS_CC, -1, "OpenSSL X.509", &type, 1, le_x509);
if (!what)
return NULL;
@@ -297,7 +297,7 @@ static EVP_PKEY * php_openssl_evp_from_zval(zval ** val, int public_key, char *
void * what;
int type;
- what = zend_fetch_resource(val, -1, "OpenSSL X.509/key", &type, 2, le_x509, le_key);
+ what = zend_fetch_resource(val TSRMLS_CC, -1, "OpenSSL X.509/key", &type, 2, le_x509, le_key);
if (!what)
return NULL;