summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r--src/lib/libcrypto/rsa/rsa_ameth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_ameth.c b/src/lib/libcrypto/rsa/rsa_ameth.c
index aca00a9ec8..9d8e2d2789 100644
--- a/src/lib/libcrypto/rsa/rsa_ameth.c
+++ b/src/lib/libcrypto/rsa/rsa_ameth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa_ameth.c,v 1.65 2026/04/07 13:16:41 tb Exp $ */ 1/* $OpenBSD: rsa_ameth.c,v 1.66 2026/08/21 17:15:22 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -879,7 +879,7 @@ rsa_pss_signature_info(const X509_ALGOR *alg, int *out_md_nid,
879 goto err; 879 goto err;
880 880
881 /* 881 /*
882 * RFC 8446, section 4.2.3 - restricts the digest algorithm: 882 * RFC 9846, section 4.3.3 - restricts the digest algorithm:
883 * - it must be one of SHA256, SHA384, and SHA512; 883 * - it must be one of SHA256, SHA384, and SHA512;
884 * - the same digest must be used in the mask generation function; 884 * - the same digest must be used in the mask generation function;
885 * - the salt length must match the output length of the digest. 885 * - the salt length must match the output length of the digest.