Skip to content
This repository was archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Document Verify doesn't always consume r
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion committed Mar 7, 2019
1 parent 2368c81 commit 5e37417
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ type signature struct {

// Verify checks if a message's signatures are valid. It returns one
// verification per signature.
//
// There is no guarantee that the reader will be completely consumed.
func Verify(r io.Reader) ([]*Verification, error) {
// TODO: be able to specify options such as the max number of signatures to
// check
Expand Down

0 comments on commit 5e37417

Please sign in to comment.