summaryrefslogtreecommitdiff
path: root/lib/http_digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http_digest.c')
-rw-r--r--lib/http_digest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c
index 7338ce72a..5afabc7e6 100644
--- a/lib/http_digest.c
+++ b/lib/http_digest.c
@@ -56,8 +56,8 @@ Proxy-Authenticate: Digest realm="testrealm", nonce="1053604598"
CURLdigest Curl_input_digest(struct connectdata *conn,
bool proxy,
- char *header) /* rest of the *-authenticate:
- header */
+ const char *header) /* rest of the *-authenticate:
+ header */
{
bool more = TRUE;
char *token = NULL;
@@ -212,8 +212,8 @@ static void md5_to_ascii(unsigned char *source, /* 16 bytes */
CURLcode Curl_output_digest(struct connectdata *conn,
bool proxy,
- unsigned char *request,
- unsigned char *uripath)
+ const unsigned char *request,
+ const unsigned char *uripath)
{
/* We have a Digest setup for this, use it! Now, to get all the details for
this sorted out, I must urge you dear friend to read up on the RFC2617