summaryrefslogtreecommitdiff
path: root/src
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
commitf5e13a95a7d0ac677ab8cf31d7140a9b734fa983 (patch)
tree5bab19844c85f6c9e53ee6280bf5ba72a59e38d4 /src
parente69cf8144e6a0da3ff79fc1d081d948effd8abe8 (diff)
downloadgolang-f5e13a95a7d0ac677ab8cf31d7140a9b734fa983.tar.gz
x509: fix English.
(addressing comments from 1741045) R=r CC=golang-dev http://codereview.appspot.com/1678047
Diffstat (limited to 'src')
-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 c4c79eb0d..23b7d0b62 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) {