summaryrefslogtreecommitdiffstats
path: root/src/parser/challenge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/challenge.cpp')
-rw-r--r--src/parser/challenge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/challenge.cpp b/src/parser/challenge.cpp
index 9c365a5..d5f6e16 100644
--- a/src/parser/challenge.cpp
+++ b/src/parser/challenge.cpp
@@ -163,7 +163,7 @@ string t_challenge::encode(void) const {
string s = auth_scheme;
s += ' ';
- if (auth_scheme == AUTH_DIGEST) {
+ if (cmp_nocase(auth_scheme,AUTH_DIGEST) == 0) {
s += digest_challenge.encode();
} else {
for (list<t_parameter>::const_iterator i = auth_params.begin();