From 1e39b95682781fd9117eef094f6fd8c58b443610 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 27 Oct 2013 12:34:56 +0000 Subject: email: Added support for canceling CRAM-MD5 authentication --- lib/curl_sasl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/curl_sasl.h') diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h index 2b6a5a26a..63888ffac 100644 --- a/lib/curl_sasl.h +++ b/lib/curl_sasl.h @@ -66,6 +66,10 @@ CURLcode Curl_sasl_create_login_message(struct SessionHandle *data, size_t *outlen); #ifndef CURL_DISABLE_CRYPTO_AUTH +/* This is used to decode a base64 encoded CRAM-MD5 challange message */ +CURLcode Curl_sasl_decode_cram_md5_message(const char *chlg64, char **outptr, + size_t *outlen); + /* 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, @@ -75,7 +79,7 @@ CURLcode Curl_sasl_create_cram_md5_message(struct SessionHandle *data, /* This is used to generate a base64 encoded DIGEST-MD5 response message */ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data, - const char *chlg64, + const char *chlg, const char *user, const char *passwdp, const char *service, -- cgit v1.2.3