summaryrefslogtreecommitdiff
path: root/internal/cryptocore/cryptocore_go1.4_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cryptocore/cryptocore_go1.4_test.go')
-rw-r--r--internal/cryptocore/cryptocore_go1.4_test.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/internal/cryptocore/cryptocore_go1.4_test.go b/internal/cryptocore/cryptocore_go1.4_test.go
deleted file mode 100644
index 14e1e03..0000000
--- a/internal/cryptocore/cryptocore_go1.4_test.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// +build !go1.5
-// = go 1.4 or lower
-
-package cryptocore
-
-import (
- "testing"
-)
-
-// Native Go crypto with 128-bit IVs is only supported on Go 1.5 and up,
-// this should panic.
-func TestCryptoCoreNewGo14(t *testing.T) {
- defer func() {
- if r := recover(); r == nil {
- t.Errorf("The code did not panic")
- }
- }()
- key := make([]byte, 32)
- New(key, BackendGoGCM, 128)
-}