From: Mikkel Krautz Date: Mon, 27 Feb 2012 00:49:06 +0000 (+1100) Subject: crypto/x509: fix typo in Verify documentation X-Git-Tag: weekly.2012-03-04~143 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e4db4e9b585423324a5bf9ef22914e9f546e707f;p=gostls13.git crypto/x509: fix typo in Verify documentation R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5695070 --- diff --git a/src/pkg/crypto/x509/verify.go b/src/pkg/crypto/x509/verify.go index 87b1cb7bb1..3859dd8d48 100644 --- a/src/pkg/crypto/x509/verify.go +++ b/src/pkg/crypto/x509/verify.go @@ -135,8 +135,8 @@ func (c *Certificate) isValid(certType int, opts *VerifyOptions) error { // Verify attempts to verify c by building one or more chains from c to a // certificate in opts.roots, using certificates in opts.Intermediates if -// needed. If successful, it returns one or chains where the first element of -// the chain is c and the last element is from opts.Roots. +// needed. If successful, it returns one or more chains where the first +// element of the chain is c and the last element is from opts.Roots. // // WARNING: this doesn't do any revocation checking. func (c *Certificate) Verify(opts VerifyOptions) (chains [][]*Certificate, err error) {