From 8eb093d04bc21e679d6a69ac6a0d663b13dc5200 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 9 Nov 2023 19:08:07 +0000 Subject: [PATCH] Forgot to fix the RFC number in the new comment --- lib/libcrypto/pkcs7/pk7_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/pkcs7/pk7_lib.c b/lib/libcrypto/pkcs7/pk7_lib.c index c3501c27bce..59f348e2344 100644 --- a/lib/libcrypto/pkcs7/pk7_lib.c +++ b/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); -- 2.20.1