summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-12-30 15:04:57 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-12-31 16:56:21 +0100
commitbecfe2ec783a40254761606a09069cf258d424ef (patch)
tree19f3f7ace874900ad1d3b10d997014af986b078b /lib/url.c
parentdf856cb5c94665c9083dc8be5bb02392d841cc1e (diff)
downloadcurl-becfe2ec783a40254761606a09069cf258d424ef.tar.gz
urldata: cease storing TLS auth type
The only TLS auth type libcurl ever supported is SRP and that is the default type. Since nobody ever sets any other type, there is no point in wasting space to store the set type and code to check the type. If TLS auth is used, SRP is now implied. Closes #10181
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/url.c b/lib/url.c
index 9a858eff0..c91a96824 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -563,9 +563,6 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data)
#endif
set->ssl.primary.verifypeer = TRUE;
set->ssl.primary.verifyhost = TRUE;
-#ifdef USE_TLS_SRP
- set->ssl.primary.authtype = CURL_TLSAUTH_NONE;
-#endif
#ifdef USE_SSH
/* defaults to any auth type */
set->ssh_auth_types = CURLSSH_AUTH_DEFAULT;