diff options
| author | Emmanuel Odeke <emm.odeke@gmail.com> | 2016-05-17 20:22:48 -0600 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2016-05-18 03:06:56 +0000 |
| commit | ac66bb343181bef154342638d45dcc2c695ded00 (patch) | |
| tree | f41dd44ed944c1b10759767a27310950cccabd8a | |
| parent | f962e6e0e21b9e73981e6cf2407ea01fce04b989 (diff) | |
| download | go-ac66bb343181bef154342638d45dcc2c695ded00.tar.xz | |
crypto/x509: fix typo in docs for CreateCertificateRequest
Update the doc for CreateCertificateRequest
to state that it creates a
`new certificate request`
instead of just a
`new certificate`
Fixes #14649.
Change-Id: Ibbbcf91d74168998990990e78e5272a6cf294d51
Reviewed-on: https://go-review.googlesource.com/23204
Reviewed-by: Russ Cox <rsc@golang.org>
| -rw-r--r-- | src/crypto/x509/x509.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/x509/x509.go b/src/crypto/x509/x509.go index 6004d5cd23..9e6d67df55 100644 --- a/src/crypto/x509/x509.go +++ b/src/crypto/x509/x509.go @@ -1853,8 +1853,8 @@ func parseCSRExtensions(rawAttributes []asn1.RawValue) ([]pkix.Extension, error) return ret, nil } -// CreateCertificateRequest creates a new certificate based on a template. The -// following members of template are used: Subject, Attributes, +// CreateCertificateRequest creates a new certificate request based on a template. +// The following members of template are used: Subject, Attributes, // SignatureAlgorithm, Extensions, DNSNames, EmailAddresses, and IPAddresses. // The private key is the private key of the signer. // |
