mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-05 13:07:14 +00:00
17 lines
491 B
Go
17 lines
491 B
Go
// Copyright 2022-2024 the Pinniped contributors. All Rights Reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
//go:build fips_strict
|
|
|
|
package testlib
|
|
|
|
import "crypto/tls"
|
|
|
|
// Because of a bug in nmap, the cipher suite preference is
|
|
// incorrectly shown as 'client' in some cases.
|
|
// in fips-only mode, it correctly shows the cipher preference
|
|
// as 'server', while in non-fips mode it shows as 'client'.
|
|
const DefaultCipherSuitePreference = "server"
|
|
|
|
const MaxTLSVersion = tls.VersionTLS12
|