aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_sasl.h4
-rw-r--r--lib/pop3.c2
-rw-r--r--lib/smtp.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index 63888ffac..b1b4f8bde 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -72,14 +72,14 @@ CURLcode Curl_sasl_decode_cram_md5_message(const char *chlg64, char **outptr,
/* This is used to generate a base64 encoded CRAM-MD5 response message */
CURLcode Curl_sasl_create_cram_md5_message(struct SessionHandle *data,
- const char *chlg64,
+ const char *chlg,
const char *user,
const char *passwdp,
char **outptr, size_t *outlen);
/* This is used to generate a base64 encoded DIGEST-MD5 response message */
CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
- const char *chlg,
+ const char *chlg64,
const char *user,
const char *passwdp,
const char *service,
diff --git a/lib/pop3.c b/lib/pop3.c
index d4075f4b3..79ce43ecb 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -990,7 +990,7 @@ static CURLcode pop3_state_auth_cram_resp(struct connectdata *conn,
}
else {
/* Create the response message */
- result = Curl_sasl_create_cram_md5_message(data, chlg64, conn->user,
+ result = Curl_sasl_create_cram_md5_message(data, chlg, conn->user,
conn->passwd, &rplyb64, &len);
if(!result && rplyb64) {
/* Send the response */
diff --git a/lib/smtp.c b/lib/smtp.c
index 68537e74d..30c89dba1 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -970,7 +970,7 @@ static CURLcode smtp_state_auth_cram_resp(struct connectdata *conn,
}
else {
/* Create the response message */
- result = Curl_sasl_create_cram_md5_message(data, chlg64, conn->user,
+ result = Curl_sasl_create_cram_md5_message(data, chlg, conn->user,
conn->passwd, &rplyb64, &len);
if(!result && rplyb64) {
/* Send the response */