mirror of
https://github.com/hanzozt/foundation.git
synced 2026-10-30 14:42:04 +00:00
14 lines
249 B
Go
14 lines
249 B
Go
//go:build goexperiment.opensslcrypto && requirefips
|
|
|
|
package tlz
|
|
|
|
import (
|
|
"crypto/boring"
|
|
_ "crypto/tls/fipsonly"
|
|
)
|
|
|
|
// returns true if the OpenSSL FIPS provider is active at runtime
|
|
func FipsEnabled() bool {
|
|
return boring.Enabled()
|
|
}
|