mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-20 15:04:34 +00:00
allow both TLS v1.2 and v1.3 in fips mode, supported starting in Go 1.24
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2024 the Pinniped contributors. All Rights Reserved.
|
||||
// Copyright 2024-2025 the Pinniped contributors. All Rights Reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
//go:build !fips_enable_tls13_max_for_default_profile
|
||||
@@ -7,4 +7,4 @@ package ptls
|
||||
|
||||
import "crypto/tls"
|
||||
|
||||
const DefaultProfileMaxTLSVersionForFIPS = tls.VersionTLS12
|
||||
const DefaultProfileMaxTLSVersionForFIPS = tls.VersionTLS13 // Starting in Go 1.24, boringcrypto supports TLS 1.3 by default, so this build tag is no longer needed
|
||||
|
||||
Reference in New Issue
Block a user