Skip to content

Commit 0fb9a8c

Browse files
committed
fix type
1 parent 4bc941e commit 0fb9a8c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

ext/openssl/openssl.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,9 +1560,6 @@ PHP_FUNCTION(openssl_x509_parse)
15601560
} else {
15611561
zval_ptr_dtor(&critext);
15621562
}
1563-
if (altname != NULL) {
1564-
add_assoc_zval(return_value, "subjectAlternativeName", altname);
1565-
}
15661563
ulong altcount = zend_hash_num_elements(Z_ARRVAL_P(&altname));
15671564
if (altcount > 0) {
15681565
add_assoc_zval(return_value, "subjectAlternativeName", &altname);

0 commit comments

Comments
 (0)