aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@golang.org>2010-06-30 18:05:38 -0400
committerAdam Langley <agl@golang.org>2010-06-30 18:05:38 -0400
commit269df5827010fa29822d0ed655e104b559f1e870 (patch)
treedb7101b5db683a07e9363d68431fc58fb6665048
parent9c09ed13d28474ef76a73c533dc75da586f657d3 (diff)
downloadgo-269df5827010fa29822d0ed655e104b559f1e870.tar.gz
go-269df5827010fa29822d0ed655e104b559f1e870.zip
x509: fix English.
(addressing comments from 1741045) R=r CC=golang-dev https://golang.org/cl/1678047
-rw-r--r--src/pkg/crypto/x509/x509.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/crypto/x509/x509.go b/src/pkg/crypto/x509/x509.go
index c4c79eb0de..23b7d0b629 100644
--- a/src/pkg/crypto/x509/x509.go
+++ b/src/pkg/crypto/x509/x509.go
@@ -761,8 +761,8 @@ var (
// MaxPathLen, SubjectKeyId, DNSNames.
//
// The certificate is signed by parent. If parent is equal to template then the
-// certificate is self-signed. pub is the public key of the signee. priv is the
-// private key of the signer.
+// certificate is self-signed. The parameter pub is the public key of the
+// signee and priv is the private key of the signer.
//
// The returned slice is the certificate in DER encoding.
func CreateCertificate(rand io.Reader, template, parent *Certificate, pub *rsa.PublicKey, priv *rsa.PrivateKey) (cert []byte, err os.Error) {