]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/x509: sort the list of fields used by CreateCertificateRequest.
authorAdam Langley <agl@golang.org>
Wed, 8 Feb 2017 17:41:39 +0000 (09:41 -0800)
committerAdam Langley <agl@golang.org>
Thu, 9 Feb 2017 18:34:18 +0000 (18:34 +0000)
Change-Id: I67589cb9e728e6c7df5ef6e981189193154338d3
Reviewed-on: https://go-review.googlesource.com/36559
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/crypto/x509/x509.go

index 8c7f0b983af44b513a67da974e3b0cbfa77f62ba..a8d30d58db4f202327166cb7080352a7b71ee5ae 100644 (file)
@@ -2031,10 +2031,10 @@ func parseCSRExtensions(rawAttributes []asn1.RawValue) ([]pkix.Extension, error)
        return ret, nil
 }
 
-// CreateCertificateRequest creates a new certificate request based on a template.
-// The following members of template are used: Subject, Attributes,
-// SignatureAlgorithm, ExtraExtensions, DNSNames, EmailAddresses, and IPAddresses.
-// The private key is the private key of the signer.
+// CreateCertificateRequest creates a new certificate request based on a
+// template. The following members of template are used: Attributes, DNSNames,
+// EmailAddresses, ExtraExtensions, IPAddresses, SignatureAlgorithm, and
+// Subject. The private key is the private key of the signer.
 //
 // The returned slice is the certificate request in DER encoding.
 //