diff --git a/handshake_server.go b/handshake_server.go index c87da50..7675770 100644 --- a/handshake_server.go +++ b/handshake_server.go @@ -229,7 +229,7 @@ Curves: // The client is doing a fallback connection. if hs.clientHello.vers < c.config.maxVersion() { c.sendAlert(alertInappropriateFallback) - return false, errors.New("tls: client using inppropriate protocol fallback") + return false, errors.New("tls: client using inappropriate protocol fallback") } break } diff --git a/handshake_server_test.go b/handshake_server_test.go index 46a90d3..f0ef260 100644 --- a/handshake_server_test.go +++ b/handshake_server_test.go @@ -780,7 +780,7 @@ func TestFallbackSCSV(t *testing.T) { config: serverConfig, // OpenSSL 1.0.1j is needed for the -fallback_scsv option. command: []string{"openssl", "s_client", "-fallback_scsv"}, - expectHandshakeErrorIncluding: "inppropriate protocol fallback", + expectHandshakeErrorIncluding: "inappropriate protocol fallback", } runServerTestTLS11(t, test) }