aboutsummaryrefslogtreecommitdiff
path: root/internal/cryptocore
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cryptocore')
-rw-r--r--internal/cryptocore/cryptocore_go1.5_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/cryptocore/cryptocore_go1.5_test.go b/internal/cryptocore/cryptocore_go1.5_test.go
index 9e24979..1c93254 100644
--- a/internal/cryptocore/cryptocore_go1.5_test.go
+++ b/internal/cryptocore/cryptocore_go1.5_test.go
@@ -7,11 +7,10 @@ import (
"testing"
)
-// Native Go crypto with 128-bit IVs is only supported on Go 1.5 and up
func TestCryptoCoreNewGo15(t *testing.T) {
key := make([]byte, 32)
c := New(key, false, true)
- if c.IVLen != 12 {
+ if c.IVLen != 16 {
t.Fail()
}
}