aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/tls/fipsonly/fipsonly.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/tls/fipsonly/fipsonly.go')
-rw-r--r--src/crypto/tls/fipsonly/fipsonly.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crypto/tls/fipsonly/fipsonly.go b/src/crypto/tls/fipsonly/fipsonly.go
index 85b3532d26..e5e47835e2 100644
--- a/src/crypto/tls/fipsonly/fipsonly.go
+++ b/src/crypto/tls/fipsonly/fipsonly.go
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build boringcrypto
+
// Package fipsonly restricts all TLS configuration to FIPS-approved settings.
//
// The effect is triggered by importing the package anywhere in a program, as in:
//
// import _ "crypto/tls/fipsonly"
//
-// This package only exists in the dev.boringcrypto branch of Go.
+// This package only exists when using Go compiled with GOEXPERIMENT=boringcrypto.
package fipsonly
// This functionality is provided as a side effect of an import to make