Clean up ec_asn1_group2fieldid()
authortb <tb@openbsd.org>
Fri, 11 Oct 2024 18:55:44 +0000 (18:55 +0000)
committertb <tb@openbsd.org>
Fri, 11 Oct 2024 18:55:44 +0000 (18:55 +0000)
commit01977d2bab22f602328a24546361a70110b3e4d7
tree880ca133beaf69b30a7b9eb47dfde1d7e22d6d2d
parentdeda38367d8ce90b2095bc1133c07067de640f76
Clean up ec_asn1_group2fieldid()

This drops some unnecessary freeing that was turned into a double free
reachable via public API in OpenSSL 1.1. Other than that it unindents
code and uses better variable names.

ok jsing
lib/libcrypto/ec/ec_asn1.c