aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-10-09 13:25:10 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-10-09 13:25:10 +0200
commitcc50a92a07e864c3be6a895f2f7daaa426814d45 (patch)
tree9bc721204385b1960ffd98b73bdf30b950775c6a
parentb9639a9dc3e5a7259abbff0913d4ffa7cd52438d (diff)
downloadfetchmail-cc50a92a07e864c3be6a895f2f7daaa426814d45.tar.gz
fetchmail-cc50a92a07e864c3be6a895f2f7daaa426814d45.tar.bz2
fetchmail-cc50a92a07e864c3be6a895f2f7daaa426814d45.zip
Return proper PS_AUTHFAIL if we don't get the right SASL challenge.
-rw-r--r--ntlmsubr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ntlmsubr.c b/ntlmsubr.c
index 3684bf9e..f9d27330 100644
--- a/ntlmsubr.c
+++ b/ntlmsubr.c
@@ -34,6 +34,7 @@ int ntlm_helper(int sock, struct query *ctl, const char *proto)
if (outlevel >= O_VERBOSE) {
report(stdout, GT_("Warning: received malformed challenge to \"AUTH(ENTICATE) NTLM\"!\n"));
}
+ result = PS_AUTHFAIL;
goto cancelfail;
}