aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-28 00:07:45 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-28 00:07:45 +0100
commit720ea577dc2f850c24adbba463e307eed017bc11 (patch)
treee91846c9a65cb376797abf004ce9a13adee9a44e /src
parentc67f84209335f0db8c4ac30d620290f39abf32b0 (diff)
curl: remove --proxy-ssl* options
There's mostly likely no need to allow setting SSLv2/3 version for HTTPS proxy. Those protocols are insecure by design and deprecated.
Diffstat (limited to 'src')
-rw-r--r--src/tool_getparam.c12
-rw-r--r--src/tool_help.c2
2 files changed, 0 insertions, 14 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index 3d254e1b5..5b6f3bec9 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -246,8 +246,6 @@ static const struct LongShort aliases[]= {
{"E7", "proxy-capath", TRUE},
{"E8", "proxy-insecure", FALSE},
{"E9", "proxy-tlsv1", FALSE},
- {"EA", "proxy-sslv2", FALSE},
- {"EB", "proxy-sslv3", FALSE},
{"f", "fail", FALSE},
{"fa", "fail-early", FALSE},
{"F", "form", TRUE},
@@ -1542,16 +1540,6 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
config->proxy_ssl_version = CURL_SSLVERSION_TLSv1;
break;
- case 'A':
- /* SSL version 2 for proxy */
- config->proxy_ssl_version = CURL_SSLVERSION_SSLv2;
- break;
-
- case 'B':
- /* SSL version 3 for proxy */
- config->proxy_ssl_version = CURL_SSLVERSION_SSLv3;
- break;
-
default: /* unknown flag */
return PARAM_OPTION_UNKNOWN;
}
diff --git a/src/tool_help.c b/src/tool_help.c
index 992a969ce..978d8b601 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -199,8 +199,6 @@ static const char *const helptext[] = {
" --proxy-pass PASS Pass phrase for the private key for proxy (SSL)",
" --proxy-ssl-allow-beast "
"Allow security flaw to improve interop for proxy (SSL)",
- " --proxy-sslv2 Use SSLv2 for proxy (SSL)",
- " --proxy-sslv3 Use SSLv3 for proxy (SSL)",
" --proxy-tlsv1 Use TLSv1 for proxy (SSL)",
" --proxy-tlsuser USER TLS username for proxy",
" --proxy-tlspassword STRING TLS password for proxy",