1
0
mirror of https://github.com/golang/go synced 2024-11-24 18:00:02 -07:00

x509: fix English.

(addressing comments from 1741045)

R=r
CC=golang-dev
https://golang.org/cl/1678047
This commit is contained in:
Adam Langley 2010-06-30 18:05:38 -04:00
parent 9c09ed13d2
commit 269df58270

View File

@ -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) {