sing-shadowtls/internal/tls/boring.go
2024-11-17 15:36:06 +08:00

15 lines
393 B
Go

// 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.
//go:build boringcrypto
package tls
import "crypto/internal/boring/fipstls"
// needFIPS returns fipstls.Required(), which is not available without the
// boringcrypto build tag.
func needFIPS() bool {
return fipstls.Required()
}