Code formatting for handshake_server_test.go
Este commit está contenido en:
padre
3f720fc50c
commit
b6af4dd343
@ -197,9 +197,9 @@ func TestDontSelectRSAWithECDSAKey(t *testing.T) {
|
||||
|
||||
func TestRenegotiationExtension(t *testing.T) {
|
||||
clientHello := &clientHelloMsg{
|
||||
vers: VersionTLS12,
|
||||
compressionMethods: []uint8{compressionNone},
|
||||
random: make([]byte, 32),
|
||||
vers: VersionTLS12,
|
||||
compressionMethods: []uint8{compressionNone},
|
||||
random: make([]byte, 32),
|
||||
secureRenegotiationSupported: true,
|
||||
cipherSuites: []uint16{TLS_RSA_WITH_RC4_128_SHA},
|
||||
}
|
||||
@ -1004,7 +1004,7 @@ func TestFallbackSCSV(t *testing.T) {
|
||||
name: "FallbackSCSV",
|
||||
config: &serverConfig,
|
||||
// OpenSSL 1.0.1j is needed for the -fallback_scsv option.
|
||||
command: []string{"openssl", "s_client", "-fallback_scsv"},
|
||||
command: []string{"openssl", "s_client", "-fallback_scsv"},
|
||||
expectHandshakeErrorIncluding: "inappropriate protocol fallback",
|
||||
}
|
||||
runServerTestTLS11(t, test)
|
||||
|
Cargando…
Referencia en una nueva incidencia
Block a user