From 7c360d963d9cb727a47741624e31f0afac2f4852 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 18 Jun 2020 12:56:31 -0600 Subject: * Compilation error in Alpine when using the ntlm authenticator. Reported by Marco Beishuizen. --- imap/src/c-client/auth_ntl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'imap') diff --git a/imap/src/c-client/auth_ntl.c b/imap/src/c-client/auth_ntl.c index 7579b8fb..7511303a 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 { -- cgit v1.2.3-54-g00ecf