Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
e4db4e9b
Commit
e4db4e9b
authored
Feb 27, 2012
by
Mikkel Krautz
Committed by
Brad Fitzpatrick
Feb 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypto/x509: fix typo in Verify documentation
R=golang-dev, bradfitz CC=golang-dev
https://golang.org/cl/5695070
parent
4762e9d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/pkg/crypto/x509/verify.go
src/pkg/crypto/x509/verify.go
+2
-2
No files found.
src/pkg/crypto/x509/verify.go
View file @
e4db4e9b
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment