mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:03:39 +03:00
tidy-up: apply clang-format fixes
To lib, vtls/vauth, vtls/vquic, lib/vtls.
Also:
- unit3400: drop redundant `(void)arg`.
Follow-up to e78b1b3ecc #21153
- fix comment typos.
Closes #21786
This commit is contained in:
parent
cdb266738b
commit
59320082b0
50 changed files with 263 additions and 289 deletions
|
|
@ -476,8 +476,7 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
|
|||
|
||||
if(Curl_creds_has_user(creds)) {
|
||||
/* Populate our identity structure */
|
||||
if(Curl_create_sspi_identity(creds->user, creds->passwd,
|
||||
&identity)) {
|
||||
if(Curl_create_sspi_identity(creds->user, creds->passwd, &identity)) {
|
||||
curlx_free(output_token);
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
|
|
@ -557,11 +556,12 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
|
|||
|
||||
/* Generate our response message */
|
||||
status = Curl_pSecFn->InitializeSecurityContext(&credentials, NULL,
|
||||
spn,
|
||||
ISC_REQ_USE_HTTP_STYLE, 0, 0,
|
||||
&chlg_desc, 0,
|
||||
digest->http_context,
|
||||
&resp_desc, &attrs, NULL);
|
||||
spn,
|
||||
ISC_REQ_USE_HTTP_STYLE,
|
||||
0, 0,
|
||||
&chlg_desc, 0,
|
||||
digest->http_context,
|
||||
&resp_desc, &attrs, NULL);
|
||||
curlx_free(spn);
|
||||
|
||||
if(status == SEC_I_COMPLETE_NEEDED ||
|
||||
|
|
|
|||
|
|
@ -317,8 +317,7 @@ struct negotiatedata {
|
|||
BIT(havemultiplerequests);
|
||||
};
|
||||
|
||||
struct negotiatedata *
|
||||
Curl_auth_nego_get(struct connectdata *conn, bool proxy);
|
||||
struct negotiatedata *Curl_auth_nego_get(struct connectdata *conn, bool proxy);
|
||||
|
||||
/* This is used to decode a base64 encoded SPNEGO (Negotiate) challenge
|
||||
message */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue