diff options
author | Jakob Unterwurzacher | 2015-12-10 20:52:59 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-12-10 20:55:09 +0100 |
commit | 78cd97c5e9de221a6cd2ddfcaaa2c1f1f430d264 (patch) | |
tree | 82668516f0e2b9156afc0dc6ec3f0b28a9e2de82 /cryptfs/openssl_test.go | |
parent | 61ee2271c454047781afad6ded2e17e6efe20113 (diff) |
Wrap NewGCMWithNonceSize() to enable compilation on Go 1.4
Diffstat (limited to 'cryptfs/openssl_test.go')
-rw-r--r-- | cryptfs/openssl_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cryptfs/openssl_test.go b/cryptfs/openssl_test.go index 85a97d9..aecee94 100644 --- a/cryptfs/openssl_test.go +++ b/cryptfs/openssl_test.go @@ -10,7 +10,6 @@ package cryptfs import ( "crypto/aes" - "crypto/cipher" "testing" ) @@ -20,7 +19,7 @@ func benchmarkGoEnc(b *testing.B, plaintext []byte, key []byte, nonce []byte) (c if err != nil { b.Fatal(err) } - aesgcm, err := cipher.NewGCMWithNonceSize(aes, len(nonce)) + aesgcm, err := goGCMWrapper(aes, len(nonce)) if err != nil { b.Fatal(err) } |