]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/x509: correct field name in comment
authorIan Lance Taylor <iant@golang.org>
Wed, 15 Oct 2014 13:20:55 +0000 (06:20 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 15 Oct 2014 13:20:55 +0000 (06:20 -0700)
Fixes #8936.

LGTM=bradfitz
R=agl, bradfitz
CC=golang-codereviews
https://golang.org/cl/152590043

src/crypto/x509/x509.go

index 69a62e57d2193673dd95d85e8c91ee459287d303..7a37b98e3179fc65119b0811bde6414f9cb7f332 100644 (file)
@@ -1670,7 +1670,7 @@ var oidExtensionRequest = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 9, 14}
 
 // CreateCertificateRequest creates a new certificate based on a template. The
 // following members of template are used: Subject, Attributes,
-// SignatureAlgorithm, Extension, DNSNames, EmailAddresses, and IPAddresses.
+// SignatureAlgorithm, Extensions, DNSNames, EmailAddresses, and IPAddresses.
 // The private key is the private key of the signer.
 //
 // The returned slice is the certificate request in DER encoding.