mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
This patch updates all build tag constraints to add the new format, alongside the old one, to maintain backwards compatibility. This was done by using `go fmt`. See https://go.dev/doc/go1.17#gofmt and https://golang.org/design/draft-gobuild for more details.
18 lines
304 B
Go
18 lines
304 B
Go
// Fuzz testing for package aliases.
|
|
|
|
//go:build gofuzz
|
|
// +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
|
|
}
|