Skip to content

Commit

Permalink
Remove linter errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraino committed Jan 27, 2022
1 parent d1dde4a commit 3a0eb01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sshutil/certificate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ func (b *badSigner) PublicKey() ssh.PublicKey {
return b.signer.PublicKey()
}

func (b *badSigner) Sign(rand io.Reader, data []byte) (*ssh.Signature, error) {
func (b *badSigner) Sign(r io.Reader, data []byte) (*ssh.Signature, error) {
return nil, fmt.Errorf("an error")
}

func (b *badSigner) SignWithAlgorithm(rand io.Reader, data []byte, algorithm string) (*ssh.Signature, error) {
func (b *badSigner) SignWithAlgorithm(r io.Reader, data []byte, algorithm string) (*ssh.Signature, error) {
return nil, fmt.Errorf("an error")
}

Expand Down

0 comments on commit 3a0eb01

Please sign in to comment.