Files
nebula/cmd/nebula-service/fips140.go
T
Wade Simmons 69c6132a76 fix the tag
2026-06-09 13:27:57 -04:00

14 lines
268 B
Go

//go:build fips140enforce
package main
import (
"crypto/fips140"
)
func init() {
if !fips140.Enforced() {
panic("Nebula compiled with fips140 expects FIPS140 to be enforced. Do not set GODEBUG=fips140, or if you do it must be set as GODEBUG=fips140=only")
}
}