mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23:31 +03:00
vauth: Refactored function names after move to new vauth directory
Renamed all the SASL functions that moved to the new vauth directory to include the correct module name.
This commit is contained in:
parent
7d2a5a05f6
commit
58a7bc96ec
17 changed files with 206 additions and 203 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -65,7 +65,7 @@ CURLcode Curl_input_digest(struct connectdata *conn,
|
|||
while(*header && ISSPACE(*header))
|
||||
header++;
|
||||
|
||||
return Curl_sasl_decode_digest_http_message(header, digest);
|
||||
return Curl_auth_decode_digest_http_message(header, digest);
|
||||
}
|
||||
|
||||
CURLcode Curl_output_digest(struct connectdata *conn,
|
||||
|
|
@ -152,7 +152,7 @@ CURLcode Curl_output_digest(struct connectdata *conn,
|
|||
if(!path)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
||||
result = Curl_sasl_create_digest_http_message(data, userp, passwdp, request,
|
||||
result = Curl_auth_create_digest_http_message(data, userp, passwdp, request,
|
||||
path, digest, &response, &len);
|
||||
free(path);
|
||||
if(result)
|
||||
|
|
@ -172,8 +172,8 @@ CURLcode Curl_output_digest(struct connectdata *conn,
|
|||
|
||||
void Curl_digest_cleanup(struct SessionHandle *data)
|
||||
{
|
||||
Curl_sasl_digest_cleanup(&data->state.digest);
|
||||
Curl_sasl_digest_cleanup(&data->state.proxydigest);
|
||||
Curl_auth_digest_cleanup(&data->state.digest);
|
||||
Curl_auth_digest_cleanup(&data->state.proxydigest);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue