Call dsa_check_keys() before signing or verifying
authortb <tb@openbsd.org>
Sat, 4 Mar 2023 21:06:17 +0000 (21:06 +0000)
committertb <tb@openbsd.org>
Sat, 4 Mar 2023 21:06:17 +0000 (21:06 +0000)
commit83f09c764e4beb3097e2a17a1f539db293910bd5
tree597e81534fa1b47550144f069510127e2ac857ed
parentf1d158b40c0a84ac53fb5bea0c63d4d0ce8e3183
Call dsa_check_keys() before signing or verifying

We already had some checks on both sides, but they were less precise
and differed between the functions. The code here is messy enough, so
any simplification is helpful...

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