From aeda9721d0150b9b77d9522bb3b4fcd17f2cbbfa Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 24 Oct 2016 19:18:13 +0200 Subject: Fix misspellings Close https://github.com/rfjakob/gocryptfs/issues/54 --- internal/fusefrontend_reverse/rpath.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/fusefrontend_reverse/rpath.go') diff --git a/internal/fusefrontend_reverse/rpath.go b/internal/fusefrontend_reverse/rpath.go index 5288dcd..c8df8fe 100644 --- a/internal/fusefrontend_reverse/rpath.go +++ b/internal/fusefrontend_reverse/rpath.go @@ -30,7 +30,7 @@ const ( // derivePathIV derives an IV from an encrypted path by hashing it with sha256 func derivePathIV(path string, purpose ivPurposeType) []byte { - // Use null byte as separator as it cannot occour in the path + // Use null byte as separator as it cannot occur in the path extended := []byte(path + "\000" + string(purpose)) hash := sha256.Sum256(extended) return hash[:nametransform.DirIVLen] -- cgit v1.2.3