From 37a9b4c3ee9d5dd332ae2f4b25942c6fef254d72 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 3 Mar 2016 00:58:12 +0100 Subject: 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. --- internal/nametransform/names_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/nametransform') 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 { -- cgit v1.2.3