mirror of
https://github.com/therootcompany/telebit.git
synced 2025-03-12 03:30:49 +00:00
properly test timing vuln fix
This commit is contained in:
parent
89d3a2552a
commit
6ef812cfcb
@ -52,6 +52,12 @@ func TestStore(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
auth, err = store.Get(secret)
|
||||
if nil != err {
|
||||
t.Fatal("get by key error", err)
|
||||
return
|
||||
}
|
||||
|
||||
auth1.MachinePPID = "a-secretish-id"
|
||||
err = store.Set(auth1)
|
||||
if nil != err {
|
||||
|
Loading…
x
Reference in New Issue
Block a user