Commit 269df582 authored by Adam Langley's avatar Adam Langley

x509: fix English.

        (addressing comments from 1741045)

R=r
CC=golang-dev
https://golang.org/cl/1678047
parent 9c09ed13
...@@ -761,8 +761,8 @@ var ( ...@@ -761,8 +761,8 @@ var (
// MaxPathLen, SubjectKeyId, DNSNames. // MaxPathLen, SubjectKeyId, DNSNames.
// //
// The certificate is signed by parent. If parent is equal to template then the // 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 // certificate is self-signed. The parameter pub is the public key of the
// private key of the signer. // signee and priv is the private key of the signer.
// //
// The returned slice is the certificate in DER encoding. // 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) { func CreateCertificate(rand io.Reader, template, parent *Certificate, pub *rsa.PublicKey, priv *rsa.PrivateKey) (cert []byte, err os.Error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment