Fix a long-standing bug in ec_asn1_group2pkparameters()
authortb <tb@openbsd.org>
Fri, 11 Oct 2024 18:35:39 +0000 (18:35 +0000)
committertb <tb@openbsd.org>
Fri, 11 Oct 2024 18:35:39 +0000 (18:35 +0000)
commitdeda38367d8ce90b2095bc1133c07067de640f76
treece6b56b65aec7941649e6064235b2924e8ac67c1
parent6abfcf9a1c255898226e8f350971dea84dde392d
Fix a long-standing bug in ec_asn1_group2pkparameters()

Only check for the OPENSSL_EC_NAMED_CURVE being set to treat the curve
parameters as named curve parameters.

ok jsing
lib/libcrypto/ec/ec_asn1.c