summaryrefslogtreecommitdiff
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
commitc37920e90f5668f9ac3fe8dc944cb11c018a6492 (patch)
tree5bab19844c85f6c9e53ee6280bf5ba72a59e38d4
parente665f1415d118838e67283e6e46c3fa3e87800fc (diff)
downloadgo-c37920e90f5668f9ac3fe8dc944cb11c018a6492.tar.gz
x509: fix English.
(addressing comments from 1741045) R=r CC=golang-dev http://codereview.appspot.com/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 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) {