Code formatting for handshake_server_test.go
This commit is contained in:
parent
3f720fc50c
commit
b6af4dd343
@ -197,9 +197,9 @@ func TestDontSelectRSAWithECDSAKey(t *testing.T) {
|
|||||||
|
|
||||||
func TestRenegotiationExtension(t *testing.T) {
|
func TestRenegotiationExtension(t *testing.T) {
|
||||||
clientHello := &clientHelloMsg{
|
clientHello := &clientHelloMsg{
|
||||||
vers: VersionTLS12,
|
vers: VersionTLS12,
|
||||||
compressionMethods: []uint8{compressionNone},
|
compressionMethods: []uint8{compressionNone},
|
||||||
random: make([]byte, 32),
|
random: make([]byte, 32),
|
||||||
secureRenegotiationSupported: true,
|
secureRenegotiationSupported: true,
|
||||||
cipherSuites: []uint16{TLS_RSA_WITH_RC4_128_SHA},
|
cipherSuites: []uint16{TLS_RSA_WITH_RC4_128_SHA},
|
||||||
}
|
}
|
||||||
@ -1004,7 +1004,7 @@ func TestFallbackSCSV(t *testing.T) {
|
|||||||
name: "FallbackSCSV",
|
name: "FallbackSCSV",
|
||||||
config: &serverConfig,
|
config: &serverConfig,
|
||||||
// OpenSSL 1.0.1j is needed for the -fallback_scsv option.
|
// 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",
|
expectHandshakeErrorIncluding: "inappropriate protocol fallback",
|
||||||
}
|
}
|
||||||
runServerTestTLS11(t, test)
|
runServerTestTLS11(t, test)
|
||||||
|
Loading…
Reference in New Issue
Block a user