summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
authortb <>2024-08-28 07:37:50 +0000
committertb <>2024-08-28 07:37:50 +0000
commit23a332a1da95c4b3d49acb1aa6ffd49e1b5e3b92 (patch)
tree0a43a4be1239e3ca56a11424cf01010dbc5fd304 /src/regress
parenta0eb283827e17931e83ffe4f14ff064a32be2efc (diff)
downloadopenbsd-23a332a1da95c4b3d49acb1aa6ffd49e1b5e3b92.tar.gz
openbsd-23a332a1da95c4b3d49acb1aa6ffd49e1b5e3b92.tar.bz2
openbsd-23a332a1da95c4b3d49acb1aa6ffd49e1b5e3b92.zip
Make use of X509_get_signature_info() in check_sig_level()
If an auth_level (i.e., security_level, but not quite, because Viktor) was set on the X509_VERIFY_PARAM in the X509_STORE_CTX, the verifier would reject RSA-PSS or EdDSA certificates for insufficient security bits due to incorrect use of OBJ_find_sigid_algs() (this was also a bug in the initial security level implementation in OpenSSL 1.1). Using X509_get_signature_info() fixes this while preserving behavior for all other algorithms. Reported by Steffen Ullrich as one of multiple issues with RSA-PSS. ok jsing
Diffstat (limited to 'src/regress')
0 files changed, 0 insertions, 0 deletions