From 34a76fe207a0f8a739b7c8501991143e58861fbf Mon Sep 17 00:00:00 2001
From: tb <>
Date: Thu, 9 Nov 2023 19:08:07 +0000
Subject: Forgot to fix the RFC number in the new comment

---
 src/lib/libcrypto/pkcs7/pk7_lib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib')

diff --git a/src/lib/libcrypto/pkcs7/pk7_lib.c b/src/lib/libcrypto/pkcs7/pk7_lib.c
index c3501c27bc..59f348e234 100644
--- a/src/lib/libcrypto/pkcs7/pk7_lib.c
+++ b/src/lib/libcrypto/pkcs7/pk7_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pk7_lib.c,v 1.27 2023/11/09 19:00:53 tb Exp $ */
+/* $OpenBSD: pk7_lib.c,v 1.28 2023/11/09 19:08:07 tb Exp $ */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -394,7 +394,7 @@ PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
 	/*
 	 * Do not use X509_ALGOR_set_evp_md() to match historical behavior.
 	 * A mistranslation of the ASN.1 from 1988 to 1997 syntax lost the
-	 * OPTIONAL field, cf. the NOTE above RFC 5254, 2.1.
+	 * OPTIONAL field, cf. the NOTE above RFC 5754, 2.1.
 	 * Using X509_ALGOR_set_evp_md() would change encoding of the SHAs.
 	 */
 	nid = EVP_MD_type(dgst);
-- 
cgit v1.2.3-55-g6feb