chore: update github.com/flynn/noise to v1

This commit is contained in:
Jonathan Rudenberg 2021-04-22 17:30:03 -04:00
parent 1ec50360f3
commit f4be0fe818
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ func (s *secureSession) encrypt(out, plaintext []byte) ([]byte, error) {
if s.enc == nil {
return nil, errors.New("cannot encrypt, handshake incomplete")
}
return s.enc.Encrypt(out, nil, plaintext), nil
return s.enc.Encrypt(out, nil, plaintext)
}
// decrypt calls the cipher's decryption. It decrypts the provided ciphertext,