diff options
author | Jakob Unterwurzacher | 2015-12-19 15:19:31 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-12-19 15:19:31 +0100 |
commit | 8c7e31329dc9eb058f23544fef418c1d4ba248f6 (patch) | |
tree | 87e7d28553d64a970f2e2c5f330cdb6305cbfe9d /cryptfs | |
parent | 1caa9258685fa5fad8935d3bfcd0eac7d7f84f1e (diff) |
Use NewGCMWithNonceSize only through goGCMWrapper to support Go 1.4
Diffstat (limited to 'cryptfs')
-rw-r--r-- | cryptfs/cryptfs.go | 2 |
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) } |