summaryrefslogtreecommitdiff
path: root/imap
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-06-18 12:56:31 -0600
committerEduardo Chappa <chappa@washington.edu>2020-06-18 12:56:31 -0600
commit7c360d963d9cb727a47741624e31f0afac2f4852 (patch)
tree201c43f2768cd040b2667af27181b9d773d499c7 /imap
parent000edd9036b6aea5e6a06900ecd6c58faec665ab (diff)
downloadalpine-7c360d963d9cb727a47741624e31f0afac2f4852.tar.xz
* Compilation error in Alpine when using the ntlm authenticator.
Reported by Marco Beishuizen.
Diffstat (limited to 'imap')
-rw-r--r--imap/src/c-client/auth_ntl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/imap/src/c-client/auth_ntl.c b/imap/src/c-client/auth_ntl.c
index 7579b8f..7511303 100644
--- a/imap/src/c-client/auth_ntl.c
+++ b/imap/src/c-client/auth_ntl.c
@@ -69,7 +69,7 @@ long auth_ntlm_client (authchallenge_t challenger, authrespond_t responder,char
fs_give ((void **) &challenge);
mm_login (mb, user, &pass, *trial);
if (!pass) { /* user requested abort */
- (*responder) (stream, NIL, 0);
+ (*responder) (stream, base, NIL, 0);
*trial = 0; /* cancel subsequent attempts */
ret = LONGT; /* will get a BAD response back */
} else {
@@ -89,13 +89,13 @@ long auth_ntlm_client (authchallenge_t challenger, authrespond_t responder,char
}
buildSmbNtlmAuthRequest (&request, user, NULL);
/* send a negotiate message */
- if ((*responder) (stream, NIL, (void *) &request, SmbLength (&request)) &&
+ if ((*responder) (stream, base, (void *) &request, SmbLength (&request)) &&
(challenge = (*challenger) (stream, &clen))) {
/* interpret the challenge message */
buildSmbNtlmAuthResponse (challenge, &response, user, pass);
fs_give ((void **) &challenge);
/* send a response message */
- if ((*responder) (stream, NIL, (void *) &response, SmbLength (&response))) {
+ if ((*responder) (stream, base, (void *) &response, SmbLength (&response))) {
if (challenge = (*challenger) (stream, &clen))
fs_give ((void **) &challenge);
else {