diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 290b480eaa7..e78d3b15aa8 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1978,7 +1978,7 @@ PHP_FUNCTION(openssl_x509_parse) sig_nid = OBJ_obj2nid((cert)->sig_alg->algorithm); add_assoc_string(return_value, "signatureTypeSN", (char*)OBJ_nid2sn(sig_nid), 1); add_assoc_string(return_value, "signatureTypeLN", (char*)OBJ_nid2ln(sig_nid), 1); - add_assoc_long(return_value, "signatureTypeNID", sig_nid TSRMLS_CC); + add_assoc_long(return_value, "signatureTypeNID", sig_nid); MAKE_STD_ZVAL(subitem); array_init(subitem);