From 433fb67cc46ab619f34b6ef3e35e1a95116a3649 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Tue, 25 Sep 2018 11:14:13 +0200 Subject: [PATCH] signer/storage: fix typos --- signer/storage/aes_gcm_storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signer/storage/aes_gcm_storage.go b/signer/storage/aes_gcm_storage.go index c8ac2c528a..9008318679 100644 --- a/signer/storage/aes_gcm_storage.go +++ b/signer/storage/aes_gcm_storage.go @@ -129,7 +129,7 @@ func (s *AESEncryptedStorage) writeEncryptedStorage(creds map[string]storedCrede return nil } -// encrypt encrypts plaingtext with the given key, with additionaldata +// encrypt encrypts plaintext with the given key, with additional data // The 'additionalData' is used to place the (plaintext) KV-store key into the V, // to prevent the possibility to alter a K, or swap two entries in the KV store with eachother. func encrypt(key []byte, plaintext []byte, additionalData []byte) ([]byte, []byte, error) {