1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00
Files
go-chasquid-smtp/internal/auth/fuzz.go
Alberto Bertogli 9f603da8de auth: Fuzz testing
2018-03-30 22:33:53 +01:00

17 lines
286 B
Go

// Fuzz testing for package aliases.
// +build gofuzz
package auth
func Fuzz(data []byte) int {
// user, domain, passwd, err := DecodeResponse(string(data))
interesting := 0
_, _, _, err := DecodeResponse(string(data))
if err == nil {
interesting = 1
}
return interesting
}