diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-12-30 15:04:57 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-12-31 16:56:21 +0100 |
commit | becfe2ec783a40254761606a09069cf258d424ef (patch) | |
tree | 19f3f7ace874900ad1d3b10d997014af986b078b /lib/url.c | |
parent | df856cb5c94665c9083dc8be5bb02392d841cc1e (diff) | |
download | curl-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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; |