blob: 85b3532d26dbe0ab3793cb5b74dd7594b5f2ed23 [file] [log] [blame]
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// 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.
package fipsonly
// This functionality is provided as a side effect of an import to make
// it trivial to add to an existing program. It requires only a single line
// added to an existing source file, or it can be done by adding a whole
// new source file and not modifying any existing source files.
import (
func init() {