From becfe2ec783a40254761606a09069cf258d424ef Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Dec 2022 15:04:57 +0100 Subject: 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 --- lib/url.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/url.c') 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; -- cgit v1.2.1