1
0
Fork 0
mirror of https://github.com/vbatts/go-fips.git synced 2024-12-04 22:35:39 +00:00
go-fips/fips_off.go
Vincent Batts 8fae0bf8e0 .: golint
2015-03-25 15:20:40 -04:00

18 lines
363 B
Go

// +build !fips
package fips
// Mode checks whether is FIPS mode is on
func Mode() (ONOFF, error) {
return OFF, ErrFipsDisabled
}
// ModeSet attempts to turn on FIPS for the context of this executable
func ModeSet(mode ONOFF) (ONOFF, error) {
return OFF, ErrFipsDisabled
}
// LastError is empty when fips is not built
func LastError() string {
return ""
}