mirror of
https://github.com/slackhq/nebula.git
synced 2026-07-02 03:20:29 +02:00
cleanup enforcement
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
//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")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
//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")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
//go:build fips140enforce
|
//go:build fips140enforce
|
||||||
|
|
||||||
package main
|
package noiseutil
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/fips140"
|
"crypto/fips140"
|
||||||
Reference in New Issue
Block a user