summaryrefslogtreecommitdiff
path: root/src/crypto
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
commitc5799fafe77a6561653f8faccfa7ff5128c968ca (patch)
tree67987719934864cb7099ded6197ae77fa765ff25 /src/crypto
parent601416627d7e4d21399144e43ca539707badbf61 (diff)
downloadgo-c5799fafe77a6561653f8faccfa7ff5128c968ca.tar.gz
crypto/x509: correct field name in comment
Fixes issue 8936. LGTM=bradfitz R=agl, bradfitz CC=golang-codereviews https://codereview.appspot.com/152590043
Diffstat (limited to 'src/crypto')
-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 69a62e57d..7a37b98e3 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.