diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-05-10 16:51:39 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-05-12 13:12:00 +0200 |
commit | 6a2ab4a9c81c676570e849e474ce64f8c2dee2a9 (patch) | |
tree | 9496947faebd554ee93b7e1f7962aa8b7fb143bf /providers/common/digest_to_nid.c | |
parent | b5d984bf67ba7bb5723a61f73cca89c1f86009ce (diff) |
Allow arbitrary digests with ECDSA and DSA
Unless the FIPS security check is enabled we allow arbitrary digests
with ECDSA and DSA.
Fixes #14696
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15220)
Diffstat (limited to 'providers/common/digest_to_nid.c')
-rw-r--r-- | providers/common/digest_to_nid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/common/digest_to_nid.c b/providers/common/digest_to_nid.c index 96c5e4e38b..49af04ad2a 100644 --- a/providers/common/digest_to_nid.c +++ b/providers/common/digest_to_nid.c @@ -34,7 +34,7 @@ int ossl_digest_md_to_nid(const EVP_MD *md, const OSSL_ITEM *it, size_t it_len) } /* - * Retrieve one of the FIPs approved hash algorithms by nid. + * Retrieve one of the FIPS approved hash algorithms by nid. * See FIPS 180-4 "Secure Hash Standard" and FIPS 202 - SHA-3. */ int ossl_digest_get_approved_nid(const EVP_MD *md) |