Fix ZTS build

This commit is contained in:
Daniel Lowrey 2015-03-05 12:12:55 -07:00
parent 94140afa69
commit e892f5382f

View File

@ -1552,7 +1552,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);