Skip to content
Commit d1c2c054 authored by Richard Levitte's avatar Richard Levitte Committed by Tomas Mraz
Browse files

fix: ossl_digest_get_approved_nid() returns NID_undef on invalid digest



We checked using 'md_nid < 0', which is faulty.

Impact: DSA and ECDSA signature provider implementations

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>
Reviewed-by: default avatarTomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24992)
parent f68ba38e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment