com php-src: Add missing TSRMLS_CC: ext/openssl/openssl .c
| From: | rdlowrey@php.net | Date: | Sat, 15 Feb 2014 00:27:29 +0000 |
| Subject: | com php-src: Add missing TSRMLS_CC: ext/openssl/openssl .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75982@lists.php.net to get a copy of this message | ||
Commit: 89292d95ad87bbc275cc86d8686f5b6834d845ad
Author: Daniel Lowrey <rdlowrey@php.net> Fri, 14 Feb 2014 17:27:29 -0700
Parents: 8562b8c1631c694cc99102f68056df1ac9af6ded
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=89292d95ad87bbc275cc86d8686f5b6834d845ad
Log:
Add missing TSRMLS_CC
Changed paths:
M ext/openssl/openssl.c
Diff:
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index f7acda1..1a9dbb6 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -5083,14 +5083,14 @@ int php_openssl_apply_verification_policy(SSL *ssl, X509 *peer, php_stream
*stre
php_openssl_netstream_data_t *sslsock = (php_openssl_netstream_data_t*)stream->abstract;
must_verify_peer = GET_VER_OPT("verify_peer")
- ? zend_is_true(*val)
+ ? zend_is_true(*val TSRMLS_CC)
: sslsock->is_client;
must_verify_host = GET_VER_OPT("verify_host")
- ? zend_is_true(*val)
+ ? zend_is_true(*val TSRMLS_CC)
: sslsock->is_client;
- must_verify_fingerprint = (GET_VER_OPT("peer_fingerprint") &&
zend_is_true(*val));
+ must_verify_fingerprint = (GET_VER_OPT("peer_fingerprint") && zend_is_true(*val
TSRMLS_CC));
if ((must_verify_peer || must_verify_host || must_verify_fingerprint) && peer == NULL) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not get peer certificate");