summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-04-02 20:53:43 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-04-05 23:09:04 +0100
commit3a92de56362dcf39895e3781429fcc4c6877105b (patch)
tree5b20f8ce0a9901d188eadc9664f1cc580528161e /lib/curl_sasl.h
parent45d3f0080398d477a830549254e273359865fd41 (diff)
downloadgnurl-3a92de56362dcf39895e3781429fcc4c6877105b.tar.gz
gnurl-3a92de56362dcf39895e3781429fcc4c6877105b.tar.bz2
gnurl-3a92de56362dcf39895e3781429fcc4c6877105b.zip
sasl: Combined DIGEST-MD5 message decoding and generation
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index 120e551d5..25ebfe8f2 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2012 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -77,17 +77,10 @@ CURLcode Curl_sasl_create_cram_md5_message(struct SessionHandle *data,
const char *passwdp,
char **outptr, size_t *outlen);
-/* 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,
- const char *nonce,
- const char *realm,
- const char *user,
+ const char *chlg64,
+ const char *userp,
const char *passwdp,
const char *service,
char **outptr, size_t *outlen);