From 7c6d9da45f3a3b3a247d647f497e46c1e5f3d285 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Fri, 30 May 2025 11:40:48 +0200 Subject: [PATCH] DOC: update references to obsolete RFC 2459 (updated by RFC 5280 and DSA parts taken over by RFC 3370) Reviewed-by: Paul Dale Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/27734) --- crypto/asn1/a_sign.c | 2 +- crypto/asn1/a_strnid.c | 2 +- doc/man1/openssl-ca.pod.in | 2 +- doc/man1/openssl-dsaparam.pod.in | 2 +- doc/man1/openssl-req.pod.in | 2 +- doc/man3/PEM_read_bio_PrivateKey.pod | 4 ++-- doc/man3/X509_NAME_get_index_by_NID.pod | 2 +- include/openssl/asn1.h.in | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c index 8507fc36681..073945172bb 100644 --- a/crypto/asn1/a_sign.c +++ b/crypto/asn1/a_sign.c @@ -47,7 +47,7 @@ int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2, continue; if (type->pkey_type == NID_dsaWithSHA1) { /* - * special case: RFC 2459 tells us to omit 'parameters' with + * special case: RFC 3370 tells us to omit 'parameters' with * id-dsa-with-sha1 */ ASN1_TYPE_free(a->parameter); diff --git a/crypto/asn1/a_strnid.c b/crypto/asn1/a_strnid.c index 8f85971130e..6b2288f1ede 100644 --- a/crypto/asn1/a_strnid.c +++ b/crypto/asn1/a_strnid.c @@ -41,7 +41,7 @@ unsigned long ASN1_STRING_get_default_mask(void) * MASK:XXXX : a numerical mask value. * default : use Printable, IA5, T61, BMP, and UTF8 string types * nombstr : any string type except variable-sized BMPStrings or UTF8Strings - * pkix : PKIX recommendation in RFC2459 + * pkix : PKIX recommendation in RFC 5280 * utf8only : this is the default, use UTF8Strings */ diff --git a/doc/man1/openssl-ca.pod.in b/doc/man1/openssl-ca.pod.in index 05fe63d4e39..760b91085ce 100644 --- a/doc/man1/openssl-ca.pod.in +++ b/doc/man1/openssl-ca.pod.in @@ -427,7 +427,7 @@ in delta CRLs which are not currently implemented. This sets the CRL revocation reason code to B and the hold instruction to I which must be an OID. Although any OID can be -used only B (the use of which is discouraged by RFC2459) +used, only B (the use of which is deprecated in RFC 5280), B or B will normally be used. =item B<-crl_compromise> I