diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-10-27 12:34:56 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-10-27 12:42:30 +0000 |
commit | 1e39b95682781fd9117eef094f6fd8c58b443610 (patch) | |
tree | 966e5f3f8645bcdcc56772e1dbac5cc8db54a0e0 /lib/curl_sasl.h | |
parent | 8230af0b9420617f275bd4dea921610e960bb997 (diff) | |
download | curl-1e39b95682781fd9117eef094f6fd8c58b443610.tar.gz |
email: Added support for canceling CRAM-MD5 authentication
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r-- | lib/curl_sasl.h | 6 |
1 files changed, 5 insertions, 1 deletions
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, |