1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00

digest: Corrected the name of the local HTTP digest function

Follow up to 2b5b37cb. Local static functions do not require the Curl
prefix.
This commit is contained in:
Steve Holme 2020-02-22 04:59:46 +00:00
parent 81c3712434
commit 4959be810b
No known key found for this signature in database
GPG Key ID: 4059CB85CA7E8F19

View File

@ -660,7 +660,7 @@ CURLcode Curl_auth_decode_digest_http_message(const char *chlg,
} }
/* /*
* _Curl_auth_create_digest_http_message() * auth_create_digest_http_message()
* *
* This is used to generate a HTTP DIGEST response message ready for sending * This is used to generate a HTTP DIGEST response message ready for sending
* to the recipient. * to the recipient.
@ -679,7 +679,7 @@ CURLcode Curl_auth_decode_digest_http_message(const char *chlg,
* *
* Returns CURLE_OK on success. * Returns CURLE_OK on success.
*/ */
static CURLcode _Curl_auth_create_digest_http_message( static CURLcode auth_create_digest_http_message(
struct Curl_easy *data, struct Curl_easy *data,
const char *userp, const char *userp,
const char *passwdp, const char *passwdp,
@ -955,7 +955,7 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
switch(digest->algo) { switch(digest->algo) {
case CURLDIGESTALGO_MD5: case CURLDIGESTALGO_MD5:
case CURLDIGESTALGO_MD5SESS: case CURLDIGESTALGO_MD5SESS:
return _Curl_auth_create_digest_http_message(data, userp, passwdp, return auth_create_digest_http_message(data, userp, passwdp,
request, uripath, digest, request, uripath, digest,
outptr, outlen, outptr, outlen,
auth_digest_md5_to_ascii, auth_digest_md5_to_ascii,
@ -965,7 +965,7 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
case CURLDIGESTALGO_SHA256SESS: case CURLDIGESTALGO_SHA256SESS:
case CURLDIGESTALGO_SHA512_256: case CURLDIGESTALGO_SHA512_256:
case CURLDIGESTALGO_SHA512_256SESS: case CURLDIGESTALGO_SHA512_256SESS:
return _Curl_auth_create_digest_http_message(data, userp, passwdp, return auth_create_digest_http_message(data, userp, passwdp,
request, uripath, digest, request, uripath, digest,
outptr, outlen, outptr, outlen,
auth_digest_sha256_to_ascii, auth_digest_sha256_to_ascii,