aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2014-10-15 06:20:55 -0700
committerIan Lance Taylor <iant@golang.org>2014-10-15 06:20:55 -0700
commita681749ab5b0f7dcb8aff4123e6e8a002e2b5d91 (patch)
treea81d935d51d8bae07f36aaa2a52d7e135f964570 /src
parent5e6bd29c2c522bf55d12bdd2c63c7a06b761617e (diff)
downloadgo-a681749ab5b0f7dcb8aff4123e6e8a002e2b5d91.tar.xz
crypto/x509: correct field name in comment
Fixes #8936. LGTM=bradfitz R=agl, bradfitz CC=golang-codereviews https://golang.org/cl/152590043
Diffstat (limited to 'src')
-rw-r--r--src/crypto/x509/x509.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/x509/x509.go b/src/crypto/x509/x509.go
index 69a62e57d2..7a37b98e31 100644
--- a/src/crypto/x509/x509.go
+++ b/src/crypto/x509/x509.go
@@ -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.