Skip to content

Commit 90dac98

Browse files
committed
fix the wrong
1 parent f961620 commit 90dac98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5024,6 +5024,7 @@ PHP_FUNCTION(openssl_pkey_get_details)
50245024
const BIGNUM *d;
50255025

50265026
ec_group = EC_KEY_get0_group(ec_key);
5027+
array_init(&ec);
50275028

50285029
/** Curve nid (numerical identifier) used for ASN1 mapping */
50295030
nid = EC_GROUP_get_curve_name(ec_group);
@@ -5040,7 +5041,6 @@ PHP_FUNCTION(openssl_pkey_get_details)
50405041
ASN1_OBJECT_free(obj);
50415042
}
50425043
}
5043-
array_init(&ec);
50445044

50455045
pub = EC_KEY_get0_public_key(ec_key);
50465046

0 commit comments

Comments
 (0)