]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
DOC: update references to obsolete RFC 2459 (updated by RFC 5280 and DSA parts taken...
authorDr. David von Oheimb <dev@ddvo.net>
Fri, 30 May 2025 09:40:48 +0000 (11:40 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Tue, 3 Jun 2025 05:27:57 +0000 (07:27 +0200)
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/27734)

crypto/asn1/a_sign.c
crypto/asn1/a_strnid.c
doc/man1/openssl-ca.pod.in
doc/man1/openssl-dsaparam.pod.in
doc/man1/openssl-req.pod.in
doc/man3/PEM_read_bio_PrivateKey.pod
doc/man3/X509_NAME_get_index_by_NID.pod
include/openssl/asn1.h.in

index 8507fc36681105abb3f56e447e0dce53172a7bb7..073945172bb51824c906e0ff3fe6cab1a9296ce3 100644 (file)
@@ -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);
index 8f85971130e71268e2f9cc3d86f7ffa54f468779..6b2288f1ede2cbbe539600baff5ba5c65de960e3 100644 (file)
@@ -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
  */
 
index 05fe63d4e39c77f951f24b01add2c023f73d263e..760b91085ce3f8e493be4a100cfd9d26150ca570 100644 (file)
@@ -427,7 +427,7 @@ in delta CRLs which are not currently implemented.
 
 This sets the CRL revocation reason code to B<certificateHold> and the hold
 instruction to I<instruction> which must be an OID. Although any OID can be
-used only B<holdInstructionNone> (the use of which is discouraged by RFC2459)
+used, only B<holdInstructionNone> (the use of which is deprecated in RFC 5280),
 B<holdInstructionCallIssuer> or B<holdInstructionReject> will normally be used.
 
 =item B<-crl_compromise> I<time>
index d2e8973ee0e7c75c78fde44d1252df7efb6ceb05..afe3f30375d1017b0a8413c3a67eb5a89777afdf 100644 (file)
@@ -49,7 +49,7 @@ The DSA parameters output format; the default is B<PEM>.
 See L<openssl-format-options(1)> for details.
 
 Parameters are a sequence of B<ASN.1 INTEGER>s: B<p>, B<q>, and B<g>.
-This is compatible with RFC 2459 B<DSS-Parms> structure.
+This is compatible with RFC 3370 B<DSS-Parms> structure.
 
 =item B<-in> I<filename>
 
index 4d386ec423cbd173a42f30f34fe4468c650b82eb..e88cf80b1d3915a3dc4de05ad12c7368c80d5279 100644 (file)
@@ -554,7 +554,7 @@ several values:
 
 =back
 
-Note that B<utf8only> is the PKIX recommendation in RFC2459 after 2003, and the
+Note that B<utf8only> is the PKIX recommendation in RFC 5280, and the
 default B<string_mask>; B<default> is not the default option. The B<nombstr>
 value is a workaround for some software that has problems with variable-sized
 BMPStrings and UTF8Strings.
index 22a5d606b0dbd0fe961b3455facf6ed237476f2f..e09b0afec5c44cf832e18c3eeae4380c1e780e15 100644 (file)
@@ -280,13 +280,13 @@ key is not DSA.
 
 The B<Parameters> functions read or write key parameters in PEM format using
 an EVP_PKEY structure.  The encoding depends on the type of key; for DSA key
-parameters, it will be a Dss-Parms structure as defined in RFC2459, and for DH
+parameters, it will be a Dss-Parms structure as defined in RFC 3370, and for DH
 key parameters, it will be a PKCS#3 DHparameter structure.  I<These functions
 only exist for the B<BIO> type>.
 
 The B<DSAparams> functions process DSA parameters using a DSA
 structure. The parameters are encoded using a Dss-Parms structure
-as defined in RFC2459.
+as defined in RFC 3370.
 
 The B<DHparams> functions process DH parameters using a DH
 structure. The parameters are encoded using a PKCS#3 DHparameter
index 805c5fc519fa9445ab8011cb9042379a5344d358..6d1e92b16fe1c47a57a9f4ee2830b798a1bf4d7c 100644 (file)
@@ -26,7 +26,7 @@ X509_NAME lookup and enumeration functions
 
 These functions allow an B<X509_NAME> structure to be examined. The
 B<X509_NAME> structure is the same as the B<Name> type defined in
-RFC2459 (and elsewhere) and used for example in certificate subject
+RFC 5280 (and elsewhere) and used for example in certificate subject
 and issuer names.
 
 X509_NAME_get_index_by_NID() and X509_NAME_get_index_by_OBJ() retrieve
index 68391c73a1f9e65a1808c014dc334b2ced6c6801..b39929a0662a64351488aada7e0d9957631191c1 100644 (file)
@@ -212,7 +212,7 @@ struct asn1_string_table_st {
     generate_stack_macros("ASN1_STRING_TABLE");
 -}
 
-/* size limits: this stuff is taken straight from RFC2459 */
+/* size limits: this stuff is taken straight from RFC 5280 */
 
 # define ub_name                         32768
 # define ub_common_name                  64