diff --git a/src/config.cpp b/src/config.cpp index fa2f7510..468e0ba9 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -66,7 +66,7 @@ static const struct QCommandLineConfigEntry flags[] = { QCommandLine::Option, '\0', "proxy-type", "Specifies the proxy type, 'http' (default), 'none' (disable completely), or 'socks5'", QCommandLine::Optional }, { QCommandLine::Option, '\0', "script-encoding", "Sets the encoding used for the starting script, default is 'utf8'", QCommandLine::Optional }, { QCommandLine::Option, '\0', "web-security", "Enables web security, 'true' (default) or 'false'", QCommandLine::Optional }, - { QCommandLine::Option, '\0', "ssl-protocol", "Sets the SSL protocol (supported protocols: 'SSLv3' (default), 'SSLv2', 'TLSv1', 'any')", QCommandLine::Optional }, + { QCommandLine::Option, '\0', "ssl-protocol", "Sets the SSL protocol (supported protocols: 'SSLv3', 'SSLv2', 'TLSv1' (default), 'any')", QCommandLine::Optional }, { QCommandLine::Option, '\0', "ssl-certificates-path", "Sets the location for custom CA certificates (if none set, uses system default)", QCommandLine::Optional }, { QCommandLine::Option, '\0', "webdriver", "Starts in 'Remote WebDriver mode' (embedded GhostDriver): '[[:]]' (default '127.0.0.1:8910') ", QCommandLine::Optional }, { QCommandLine::Option, '\0', "webdriver-logfile", "File where to write the WebDriver's Log (default 'none') (NOTE: needs '--webdriver') ", QCommandLine::Optional }, @@ -539,7 +539,7 @@ void Config::resetToDefaults() m_javascriptCanCloseWindows = true; m_helpFlag = false; m_printDebugMessages = false; - m_sslProtocol = "sslv3"; + m_sslProtocol = "tlsv1"; m_sslCertificatesPath.clear(); m_webdriverIp = QString(); m_webdriverPort = QString();