mirror of
https://github.com/curl/curl.git
synced 2026-08-26 22:34:45 +03:00
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
This commit is contained in:
parent
df856cb5c9
commit
becfe2ec78
6 changed files with 12 additions and 48 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue