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 +++--- pith/pine.hlp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 { diff --git a/pith/pine.hlp b/pith/pine.hlp index eb20666f..8673853e 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 451 2020-06-18 03:25:21 +Alpine Commit 452 2020-06-18 12:55:43 ============= h_news ================= -- cgit v1.2.3-70-g09d2