summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cryptfs/cryptfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptfs/cryptfs.go b/cryptfs/cryptfs.go
index ae62045..232129f 100644
--- a/cryptfs/cryptfs.go
+++ b/cryptfs/cryptfs.go
@@ -50,7 +50,7 @@ func NewCryptFS(key []byte, useOpenssl bool, plaintextNames bool, GCMIV128 bool)
if useOpenssl {
gcm = opensslGCM{key}
} else {
- gcm, err = cipher.NewGCMWithNonceSize(b, gcmIV)
+ gcm, err = goGCMWrapper(b, gcmIV)
if err != nil {
panic(err)
}