mirror of
https://github.com/slackhq/nebula.git
synced 2026-07-01 19:10:29 +02:00
14 lines
273 B
Go
14 lines
273 B
Go
//go:build fips140enforce
|
|
|
|
package noiseutil
|
|
|
|
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")
|
|
}
|
|
}
|