summaryrefslogtreecommitdiff
path: root/internal/cryptocore
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-08-21 21:06:05 +0200
committerJakob Unterwurzacher2017-08-21 21:06:05 +0200
commited046aa35978c835d79f9cb3ee359349ee9145c5 (patch)
tree3ec6fc4aa796648738ec15a4aee652c2a2afb502 /internal/cryptocore
parent26a6e61a46b9d14dbfaa0b1ba6b99caa86155037 (diff)
Fix misspellings reported by goreportcard.com
https://goreportcard.com/report/github.com/rfjakob/gocryptfs#misspell
Diffstat (limited to 'internal/cryptocore')
-rw-r--r--internal/cryptocore/cryptocore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cryptocore/cryptocore.go b/internal/cryptocore/cryptocore.go
index aafe12b..9e25bfa 100644
--- a/internal/cryptocore/cryptocore.go
+++ b/internal/cryptocore/cryptocore.go
@@ -86,7 +86,7 @@ func New(key []byte, aeadType AEADTypeEnum, IVBitLen int, useHKDF bool, forceDec
}
// stupidgcm does not create a private copy of the key, so things
// break when initFuseFrontend() overwrites it with zeros. Create
- // a copy here. This is unneccessary when useHKDF == true, but
+ // a copy here. This is unnecessary when useHKDF == true, but
// does no harm.
var stupidgcmKey []byte
stupidgcmKey = append(stupidgcmKey, gcmKey...)