diff options
author | Jakob Unterwurzacher | 2021-09-02 10:17:01 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-09-02 10:17:01 +0200 |
commit | 3ba74ac4fcb8ad5c7bfa73d63059805318b8682e (patch) | |
tree | 2698a2abf3ed109f4d899328c2fc41bf24c7e80c /internal/stupidgcm/stupidgcm.go | |
parent | 961b8ca438361b01f2f232d8735c236ef94b4d03 (diff) |
stupidgcm: add testWipe test
After looking at the cover profile, this was the only untested
code except panic cases.
Diffstat (limited to 'internal/stupidgcm/stupidgcm.go')
-rw-r--r-- | internal/stupidgcm/stupidgcm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/stupidgcm/stupidgcm.go b/internal/stupidgcm/stupidgcm.go index 01db41b..3499c85 100644 --- a/internal/stupidgcm/stupidgcm.go +++ b/internal/stupidgcm/stupidgcm.go @@ -240,7 +240,7 @@ func (g *StupidGCM) Open(dst, iv, in, authData []byte) ([]byte, error) { // and setting the reference to nil. // // This is not bulletproof due to possible GC copies, but -// still raises to bar for extracting the key. +// still raises the bar for extracting the key. func (g *StupidGCM) Wipe() { for i := range g.key { g.key[i] = 0 |