summaryrefslogtreecommitdiff
path: root/internal/nametransform
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-03-03 00:58:12 +0100
committerJakob Unterwurzacher2016-03-03 00:59:58 +0100
commit37a9b4c3ee9d5dd332ae2f4b25942c6fef254d72 (patch)
treebe34844cb4d60d922479acfa06af1222df4e6579 /internal/nametransform
parentb5221c965155fbc6df958bfe4cdaed1c93b9b3f5 (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.go2
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 {