fix compile errors in new securetls_fips_test

goland wasn't showing me them properly because of the build tags :P

Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
Margo Crawford 2022-03-22 12:01:12 -07:00 committed by Monis Khan
parent 215961b282
commit a88abd7e8b
No known key found for this signature in database
GPG Key ID: 52C90ADA01B269B8

View File

@ -188,9 +188,8 @@ func runNmapSSLEnum(t *testing.T, host string, port uint16) (string, string) {
// This is because goboring's maxtlsversion is 1.2.
func getExpectedCiphers(configFunc ptls.ConfigFunc) string {
config := configFunc(nil)
secureConfig := ptls.Secure(nil)
var tls12Bit string
var tls12Bit, tls13Bit string
// sort the TLS 1.2 ciphers.
sort.SliceStable(config.CipherSuites, func(i, j int) bool {