diff options
author | tb <> | 2023-11-09 19:08:07 +0000 |
---|---|---|
committer | tb <> | 2023-11-09 19:08:07 +0000 |
commit | 34a76fe207a0f8a739b7c8501991143e58861fbf (patch) | |
tree | 0c7bdde4f52514685311d2529086c0c23832c563 | |
parent | a514e06f7f34d3f9ee4ecc52f7c1332246a8c4cd (diff) | |
download | openbsd-34a76fe207a0f8a739b7c8501991143e58861fbf.tar.gz openbsd-34a76fe207a0f8a739b7c8501991143e58861fbf.tar.bz2 openbsd-34a76fe207a0f8a739b7c8501991143e58861fbf.zip |
Forgot to fix the RFC number in the new comment
-rw-r--r-- | src/lib/libcrypto/pkcs7/pk7_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* $OpenBSD: pk7_lib.c,v 1.27 2023/11/09 19:00:53 tb Exp $ */ | 1 | /* $OpenBSD: pk7_lib.c,v 1.28 2023/11/09 19:08:07 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -394,7 +394,7 @@ PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, | |||
394 | /* | 394 | /* |
395 | * Do not use X509_ALGOR_set_evp_md() to match historical behavior. | 395 | * Do not use X509_ALGOR_set_evp_md() to match historical behavior. |
396 | * A mistranslation of the ASN.1 from 1988 to 1997 syntax lost the | 396 | * A mistranslation of the ASN.1 from 1988 to 1997 syntax lost the |
397 | * OPTIONAL field, cf. the NOTE above RFC 5254, 2.1. | 397 | * OPTIONAL field, cf. the NOTE above RFC 5754, 2.1. |
398 | * Using X509_ALGOR_set_evp_md() would change encoding of the SHAs. | 398 | * Using X509_ALGOR_set_evp_md() would change encoding of the SHAs. |
399 | */ | 399 | */ |
400 | nid = EVP_MD_type(dgst); | 400 | nid = EVP_MD_type(dgst); |