diff options
| author | Adam Langley <agl@golang.org> | 2013-12-11 17:27:29 -0500 |
|---|---|---|
| committer | Adam Langley <agl@golang.org> | 2013-12-11 17:27:29 -0500 |
| commit | 2f43ce7fb0390f9d429cedf4f9f6701c1268411e (patch) | |
| tree | 9a8fe29e664ed1f00fde4533f8f1c1bab38bfcbc /src/pkg/crypto | |
| parent | 5744be9fe44f77010840f52eaca1b654fd19d00d (diff) | |
| download | go-2f43ce7fb0390f9d429cedf4f9f6701c1268411e.tar.xz | |
crypto/x509: fix typo in comment.
Fixes #6633.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/40720046
Diffstat (limited to 'src/pkg/crypto')
| -rw-r--r-- | src/pkg/crypto/x509/x509.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/x509/x509.go b/src/pkg/crypto/x509/x509.go index 57f68ba7ed..4a5e7e86e5 100644 --- a/src/pkg/crypto/x509/x509.go +++ b/src/pkg/crypto/x509/x509.go @@ -1355,7 +1355,7 @@ func subjectBytes(cert *Certificate) ([]byte, error) { // The returned slice is the certificate in DER encoding. // // The only supported key types are RSA and ECDSA (*rsa.PublicKey or -// *ecdsa.PublicKey for pub, *rsa.PrivateKey or *ecdsa.PublicKey for priv). +// *ecdsa.PublicKey for pub, *rsa.PrivateKey or *ecdsa.PrivateKey for priv). func CreateCertificate(rand io.Reader, template, parent *Certificate, pub interface{}, priv interface{}) (cert []byte, err error) { var publicKeyBytes []byte var publicKeyAlgorithm pkix.AlgorithmIdentifier |
