From 5e005a658f2f046ebfcf94c6edf6ec42a693fdc4 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 1 Jul 2021 16:18:04 -0700 Subject: [PATCH] control/noise: fix typo in docstring. Signed-off-by: David Anderson --- control/noise/handshake.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/noise/handshake.go b/control/noise/handshake.go index 8c53d6542..45086bd9a 100644 --- a/control/noise/handshake.go +++ b/control/noise/handshake.go @@ -318,7 +318,7 @@ func (s *symmetricState) DecryptAndHash(plaintext, ciphertext []byte) error { return nil } -// Split returns two ChaCha20Poly1305 ciphers with keys derives from +// Split returns two ChaCha20Poly1305 ciphers with keys derived from // the current handshake state. Methods on s must not be used again // after calling Split(). func (s *symmetricState) Split() (c1, c2 cipher.AEAD, err error) {