Use NewGCMWithNonceSize only through goGCMWrapper to support Go 1.4

This commit is contained in:
Jakob Unterwurzacher 2015-12-19 15:19:31 +01:00
parent 1caa925868
commit 8c7e31329d
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}