summaryrefslogtreecommitdiff
path: root/internal/stupidgcm/common_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-09-07 17:48:55 +0200
committerJakob Unterwurzacher2021-09-07 18:15:04 +0200
commitd598536709db355366e90870c6df3508c71c5884 (patch)
tree98fc50ea508d5e45f3b6480e58b8d8f506d15b4b /internal/stupidgcm/common_test.go
parent3a80db953da93c741ad391ae124121459c1046b0 (diff)
stupidgcm: unexport stupidGCM struct
No need to have it exported.
Diffstat (limited to 'internal/stupidgcm/common_test.go')
-rw-r--r--internal/stupidgcm/common_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/stupidgcm/common_test.go b/internal/stupidgcm/common_test.go
index 10a7ce1..1b32cfa 100644
--- a/internal/stupidgcm/common_test.go
+++ b/internal/stupidgcm/common_test.go
@@ -215,7 +215,7 @@ func testOpenAllZero(t *testing.T, c cipher.AEAD) {
func testWipe(t *testing.T, c cipher.AEAD) {
switch c2 := c.(type) {
- case *StupidGCM:
+ case *stupidGCM:
c2.Wipe()
if !c2.Wiped() {
t.Error("c2.wiped is not set")