mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-06 05:27:23 +00:00
Add more details to FIPS comments
Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
@@ -87,7 +87,7 @@ func GetExpectedCiphers(config *tls.Config) string {
|
||||
}
|
||||
s.WriteString("\n")
|
||||
}
|
||||
tls12Bit = fmt.Sprintf(tls12Base, s.String(), getCipherSuitePreference())
|
||||
tls12Bit = fmt.Sprintf(tls12Base, s.String(), cipherSuitePreference)
|
||||
}
|
||||
|
||||
skip13 := config.MaxVersion == tls.VersionTLS12
|
||||
|
||||
@@ -10,6 +10,4 @@ package testlib
|
||||
// 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'.
|
||||
func getCipherSuitePreference() string {
|
||||
return "server"
|
||||
}
|
||||
const cipherSuitePreference = "server"
|
||||
|
||||
@@ -10,6 +10,4 @@ package testlib
|
||||
// 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'.
|
||||
func getCipherSuitePreference() string {
|
||||
return "client"
|
||||
}
|
||||
const cipherSuitePreference = "client"
|
||||
|
||||
Reference in New Issue
Block a user