summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-12-19 15:19:31 +0100
committerJakob Unterwurzacher2015-12-19 15:19:31 +0100
commit8c7e31329dc9eb058f23544fef418c1d4ba248f6 (patch)
tree87e7d28553d64a970f2e2c5f330cdb6305cbfe9d
parent1caa9258685fa5fad8935d3bfcd0eac7d7f84f1e (diff)
Use NewGCMWithNonceSize only through goGCMWrapper to support Go 1.4
-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)
}