1 2 3 4 5 6 7 8 9 10 11
//go:build !openbsd || !cgo package bsdauth import "errors" // Authenticate is a stub for non-OpenBSD platforms. func Authenticate(username, password, atype string) (bool, error) { return false, errors.New("bsdauth: unsupported platform (requires OpenBSD + cgo)") }