From b7fc2f907789f49b4ce51be0ebd63fe9bcb81d17 Mon Sep 17 00:00:00 2001 From: Thomas Punt Date: Wed, 18 Jan 2017 09:57:27 +0000 Subject: [PATCH] Remove more TSRMLS_CC macros --- ext/openssl/openssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index cb3407736275b..9aec7f9d3a092 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1180,7 +1180,7 @@ static int php_openssl_parse_config(struct php_x509_request * req, zval * option && Z_TYPE_P(item) == IS_STRING) { req->curve_name = OBJ_sn2nid(Z_STRVAL_P(item)); if (req->curve_name == NID_undef) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown elliptic curve (short) name %s", Z_STRVAL_P(item)); + php_error_docref(NULL, E_WARNING, "Unknown elliptic curve (short) name %s", Z_STRVAL_P(item)); return FAILURE; } } @@ -3917,7 +3917,7 @@ static EVP_PKEY * php_openssl_generate_private_key(struct php_x509_request * req case OPENSSL_KEYTYPE_EC: { if (req->curve_name == NID_undef) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Missing configuration value: 'curve_name' not set"); + php_error_docref(NULL, E_WARNING, "Missing configuration value: 'curve_name' not set"); return NULL; } EC_KEY *eckey = EC_KEY_new_by_curve_name(req->curve_name);