aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-10-27 16:24:03 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-10-27 16:24:03 +0000
commite7a2ba41e33b29c61637275721981adc1c544e7f (patch)
tree71e159e1afb19fd2954c86d89756b90a01362be7
parent6fe619be7a5e6c04b8f558f07de48ecffcb21c64 (diff)
email: Corrected a couple of typos from 1e39b95682781f
-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 */