summaryrefslogtreecommitdiffstats
path: root/providers/common/digest_to_nid.c
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-05-10 16:51:39 +0200
committerTomas Mraz <tomas@openssl.org>2021-05-12 13:12:00 +0200
commit6a2ab4a9c81c676570e849e474ce64f8c2dee2a9 (patch)
tree9496947faebd554ee93b7e1f7962aa8b7fb143bf /providers/common/digest_to_nid.c
parentb5d984bf67ba7bb5723a61f73cca89c1f86009ce (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.c2
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)