v0.5.1 pin scram wire format and edge tests
Test and Fuzz / Build, Test, and Fuzz (push) Canceled after 0s
Test and Fuzz / Build, Test, and Fuzz (push) Canceled after 0s
This commit is contained in:
1 parent
b5524a3b9d
commit
0dc8189147
4 files changed
+40
-3
No files matched your search
@@ -11,6 +11,7 @@ func FuzzScramServerMessages(f *testing.F) {
|
||||
f.Add("unknown", "nonce", base64.StdEncoding.EncodeToString(make([]byte, 32)), []byte(nil))
|
||||
f.Add("", "", "", []byte{})
|
||||
f.Add("a,n=b", "nonce", "!!!", make([]byte, 32))
|
||||
f.Add("unknown", "nonce", base64.StdEncoding.EncodeToString(make([]byte, 32)), make([]byte, MaxChannelBindingLen))
|
||||
f.Fuzz(func(t *testing.T, username, nonce, proof string, binding []byte) {
|
||||
var opts []ExchangeOption
|
||||
if len(binding) > 0 && len(binding) <= MaxChannelBindingLen {
|
||||
|
||||
Reference in new issue
Block a user