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 f961620 commit 90dac98Copy full SHA for 90dac98
ext/openssl/openssl.c
@@ -5024,6 +5024,7 @@ PHP_FUNCTION(openssl_pkey_get_details)
5024
const BIGNUM *d;
5025
5026
ec_group = EC_KEY_get0_group(ec_key);
5027
+ array_init(&ec);
5028
5029
/** Curve nid (numerical identifier) used for ASN1 mapping */
5030
nid = EC_GROUP_get_curve_name(ec_group);
@@ -5040,7 +5041,6 @@ PHP_FUNCTION(openssl_pkey_get_details)
5040
5041
ASN1_OBJECT_free(obj);
5042
}
5043
- array_init(&ec);
5044
5045
pub = EC_KEY_get0_public_key(ec_key);
5046
0 commit comments