Fips only mode

Signed-off-by: Margo Crawford <margaretc@vmware.com>
This commit is contained in:
Margo Crawford 2022-03-11 09:02:17 -08:00 committed by Monis Khan
parent 2cffea5880
commit 77737039af
No known key found for this signature in database
GPG Key ID: 52C90ADA01B269B8

View File

@ -0,0 +1,13 @@
//go:build fips_strict
// +build fips_strict
package ptls
import (
_ "crypto/tls/fipsonly" // restricts all TLS configuration to FIPS-approved settings.
"fmt"
)
func main() {
fmt.Println("using fips only mode.")
}