summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2016-03-12 17:25:15 +0000
committerSteve Holme <steve_holme@hotmail.com>2016-03-12 17:25:15 +0000
commite4a0a9ef188a55687b365e5ae18f5c6db905cdc8 (patch)
tree1e8c88631959648a0c1191753c44983d734daa75 /lib/curl_sasl.h
parenta7a653fd58ebed2b069168b22baf0648f00dbe65 (diff)
downloadcurl-e4a0a9ef188a55687b365e5ae18f5c6db905cdc8.tar.gz
digest: Use boolean based success code for Curl_sasl_digest_get_pair()
Rather than use a 0 and 1 integer base result code use a TRUE / FALSE based success code.
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index 468e0fe73..2175e03d4 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2012 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012 - 2016, 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
@@ -149,8 +149,8 @@ char *Curl_sasl_build_gssapi_spn(const char *service, const char *instance);
#ifndef CURL_DISABLE_CRYPTO_AUTH
/* This is used to extract the realm from a challenge message */
-int Curl_sasl_digest_get_pair(const char *str, char *value, char *content,
- const char **endptr);
+bool Curl_sasl_digest_get_pair(const char *str, char *value, char *content,
+ const char **endptr);
/* This is used to generate a base64 encoded DIGEST-MD5 response message */
CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,