We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34b4561 commit a2ca2a8Copy full SHA for a2ca2a8
ext/openssl/openssl.c
@@ -1014,6 +1014,8 @@ PHP_FUNCTION(openssl_x509_parse)
1014
char *str_serial;
1015
char *hex_serial;
1016
char buf[256];
1017
+ char *crit_name = NULL;
1018
+ int crit_len = 0;
1019
1020
ZEND_PARSE_PARAMETERS_START(1, 2)
1021
Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str)
@@ -1116,9 +1118,6 @@ PHP_FUNCTION(openssl_x509_parse)
1116
1118
1117
1119
array_init(&subitem);
1120
- char *crit_name = NULL;
- int crit_len = 0;
1121
-
1122
for (i = 0; i < X509_get_ext_count(cert); i++) {
1123
int nid;
1124
extension = X509_get_ext(cert, i);
0 commit comments