diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-04-02 21:21:12 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-04-05 23:16:51 +0100 |
commit | 2c49e960922129ba971bb4ee4a1767adf54ffae1 (patch) | |
tree | 4864dfde16f8dba19b0ee3778d2362c98d69ecee /lib/curl_sasl.h | |
parent | 3a92de56362dcf39895e3781429fcc4c6877105b (diff) | |
download | curl-2c49e960922129ba971bb4ee4a1767adf54ffae1.tar.gz |
sasl: Added initial stub functions for SSPI DIGEST-MD support
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r-- | lib/curl_sasl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h index 25ebfe8f2..6d15c708c 100644 --- a/lib/curl_sasl.h +++ b/lib/curl_sasl.h @@ -76,6 +76,14 @@ CURLcode Curl_sasl_create_cram_md5_message(struct SessionHandle *data, const char *user, const char *passwdp, char **outptr, size_t *outlen); +#endif + +#if !defined(CURL_DISABLE_CRYPTO_AUTH) || defined(USE_WINDOWS_SSPI) +/* This is used to decode a base64 encoded DIGEST-MD5 challange message */ +CURLcode Curl_sasl_decode_digest_md5_message(const char *chlg64, + char *nonce, size_t nlen, + char *realm, size_t rlen, + char *alg, size_t alen); /* This is used to generate a base64 encoded DIGEST-MD5 response message */ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data, |