Make tls1_ec_curve_id2nid() return explicit NID_undef instead of 0 on error
authortb <tb@openbsd.org>
Sat, 2 Jul 2022 09:33:20 +0000 (09:33 +0000)
committertb <tb@openbsd.org>
Sat, 2 Jul 2022 09:33:20 +0000 (09:33 +0000)
commit6069fece903bbee185f40fb99ad4f37a42a97385
tree57ac81ec035531f048d595442545952cb2f822e3
parent1525749fb89da5e6992ed4d61159727e5f0e49b5
Make tls1_ec_curve_id2nid() return explicit NID_undef instead of 0 on error
and adjust the only caller that didn't check for NID_undef already.

ok beck jsing
lib/libssl/t1_lib.c
lib/libssl/tls_key_share.c