diff options
author | Jakob Unterwurzacher | 2016-03-03 00:58:12 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-03-03 00:59:58 +0100 |
commit | 37a9b4c3ee9d5dd332ae2f4b25942c6fef254d72 (patch) | |
tree | be34844cb4d60d922479acfa06af1222df4e6579 /internal/nametransform | |
parent | b5221c965155fbc6df958bfe4cdaed1c93b9b3f5 (diff) |
Enable openssl in tests to support old Go versions
Go 1.4 and older do not support 128-bit IVs which caused
the tests to panic.
Diffstat (limited to 'internal/nametransform')
-rw-r--r-- | internal/nametransform/names_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/nametransform/names_test.go b/internal/nametransform/names_test.go index 4a0043b..f996860 100644 --- a/internal/nametransform/names_test.go +++ b/internal/nametransform/names_test.go @@ -14,7 +14,7 @@ func TestEncryptPathNoIV(t *testing.T) { s = append(s, "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890") key := make([]byte, cryptocore.KeyLen) - cc := cryptocore.New(key, false, true) + cc := cryptocore.New(key, true, true) fs := New(cc, true, false) for _, n := range s { |