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/urldata.h | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index a70729c7e..a8af5dba3 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -283,7 +283,6 @@ struct ssl_primary_config { #ifdef USE_TLS_SRP char *username; /* TLS username (for, e.g., SRP) */ char *password; /* TLS password (for, e.g., SRP) */ - enum CURL_TLSAUTH authtype; /* TLS authentication type (default SRP) */ #endif char *curves; /* list of curves to use */ unsigned char ssl_options; /* the CURLOPT_SSL_OPTIONS bitmask */ -- cgit v1.2.1