|
|
@@ -137,6 +137,10 @@ func TestNoRC4ByDefault(t *testing.T) { |
|
|
|
testClientHelloFailure(t, serverConfig, clientHello, "no cipher suite supported by both client and server") |
|
|
|
} |
|
|
|
|
|
|
|
func TestRejectSNIWithTrailingDot(t *testing.T) { |
|
|
|
testClientHelloFailure(t, testConfig, &clientHelloMsg{vers: VersionTLS12, serverName: "foo.com."}, "unexpected message") |
|
|
|
} |
|
|
|
|
|
|
|
func TestDontSelectECDSAWithRSAKey(t *testing.T) { |
|
|
|
// Test that, even when both sides support an ECDSA cipher suite, it |
|
|
|
// won't be selected if the server's private key doesn't support it. |
|
|
|