Simplify EC_GROUP_get_basis_type()
authortb <tb@openbsd.org>
Tue, 27 Jun 2023 07:28:57 +0000 (07:28 +0000)
committertb <tb@openbsd.org>
Tue, 27 Jun 2023 07:28:57 +0000 (07:28 +0000)
commit754f08a3d4646a0122db1ba4f181bdcb1c208e9f
treeaa19146eb0fbdded80c494cf841402ae9def22fd
parentff512342186fed5e9a2c01b55f00458c298093e0
Simplify EC_GROUP_get_basis_type()

The remaining EC_METHODs in libcrypto all have a field type of
NID_X9_62_prime_field, so this function always returns 0. Make
that more obvious.

ok jsing
lib/libcrypto/ec/ec_asn1.c