Simplify the consistency checks in old_dsa_priv_decode()
authortb <tb@openbsd.org>
Sat, 4 Mar 2023 21:42:49 +0000 (21:42 +0000)
committertb <tb@openbsd.org>
Sat, 4 Mar 2023 21:42:49 +0000 (21:42 +0000)
commit94bb0884bd30b5ae207124046e01a81de80b714a
tree7e2de5d8fee07b06ff3f2ece32d0e2cab7b9426c
parent899e8679c4976f0da298bc0475377a74aa2f66e3
Simplify the consistency checks in old_dsa_priv_decode()

We have long had expensive checks for DSA domain parameters in
old_dsa_priv_decode(). These were implemented in a more complicated
way than necesary.

ok beck jsing
lib/libcrypto/dsa/dsa_ameth.c