diff options
author | Steve Holme <steve_holme@hotmail.com> | 2020-02-22 04:59:46 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2020-02-23 07:50:18 +0000 |
commit | 4959be810be3340aaa7a1efca4aba7e670d5e8b7 (patch) | |
tree | 7ecd86cbf690a160c376b606bd34f621339e4c06 /lib/vauth/digest.c | |
parent | 81c37124341e2c2f80a9c2f60cefaf61143c78b7 (diff) | |
download | curl-4959be810be3340aaa7a1efca4aba7e670d5e8b7.tar.gz |
digest: Corrected the name of the local HTTP digest function
Follow up to 2b5b37cb. Local static functions do not require the Curl
prefix.
Diffstat (limited to 'lib/vauth/digest.c')
-rw-r--r-- | lib/vauth/digest.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/vauth/digest.c b/lib/vauth/digest.c index 4d3839d90..ec8d83ac4 100644 --- a/lib/vauth/digest.c +++ b/lib/vauth/digest.c @@ -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 * to the recipient. @@ -679,7 +679,7 @@ CURLcode Curl_auth_decode_digest_http_message(const char *chlg, * * Returns CURLE_OK on success. */ -static CURLcode _Curl_auth_create_digest_http_message( +static CURLcode auth_create_digest_http_message( struct Curl_easy *data, const char *userp, const char *passwdp, @@ -955,21 +955,21 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data, switch(digest->algo) { case CURLDIGESTALGO_MD5: case CURLDIGESTALGO_MD5SESS: - return _Curl_auth_create_digest_http_message(data, userp, passwdp, - request, uripath, digest, - outptr, outlen, - auth_digest_md5_to_ascii, - Curl_md5it); + return auth_create_digest_http_message(data, userp, passwdp, + request, uripath, digest, + outptr, outlen, + auth_digest_md5_to_ascii, + Curl_md5it); case CURLDIGESTALGO_SHA256: case CURLDIGESTALGO_SHA256SESS: case CURLDIGESTALGO_SHA512_256: case CURLDIGESTALGO_SHA512_256SESS: - return _Curl_auth_create_digest_http_message(data, userp, passwdp, - request, uripath, digest, - outptr, outlen, - auth_digest_sha256_to_ascii, - Curl_sha256it); + return auth_create_digest_http_message(data, userp, passwdp, + request, uripath, digest, + outptr, outlen, + auth_digest_sha256_to_ascii, + Curl_sha256it); default: return CURLE_UNSUPPORTED_PROTOCOL; |