summaryrefslogtreecommitdiff
path: root/imap/src/c-client/auth_ntl.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-01-26 02:34:43 -0700
committerEduardo Chappa <chappa@washington.edu>2020-01-26 02:34:43 -0700
commitc9fc05a6bfdfd50231d58fe572e524108089c98d (patch)
tree16f96a5227614d8d8473f13e39ec098e7077b1e7 /imap/src/c-client/auth_ntl.c
parenta75a6e47a5c181dc3e6c039b2c06103085ef9dff (diff)
downloadalpine-c9fc05a6bfdfd50231d58fe572e524108089c98d.tar.xz
* Add support for the OAUTHBEARER authentication method in Gmail. Thanks to
Alexander Perlis for suggesting it and explaining how the method works.
Diffstat (limited to 'imap/src/c-client/auth_ntl.c')
-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 52ae9048..481ca0f8 100644
--- a/imap/src/c-client/auth_ntl.c
+++ b/imap/src/c-client/auth_ntl.c
@@ -1,5 +1,5 @@
/* ========================================================================
- * Copyright 2018 Eduardo Chappa
+ * Copyright 2018-2020 Eduardo Chappa
* Copyright 2015 Imagination Technologies
* Copyright 1988-2008 University of Washington
*
@@ -25,7 +25,7 @@
#include <ntlm.h>
long auth_ntlm_client (authchallenge_t challenger,authrespond_t responder,
- char *service,NETMBX *mb,void *stream,
+ char *service,NETMBX *mb,void *stream, unsigned long port,
unsigned long *trial,char *user);
AUTHENTICATOR auth_ntl = { /* secure, has full auth, hidden */
@@ -49,7 +49,7 @@ AUTHENTICATOR auth_ntl = { /* secure, has full auth, hidden */
*/
long auth_ntlm_client (authchallenge_t challenger, authrespond_t responder,
- char *service, NETMBX *mb, void *stream,
+ char *service, NETMBX *mb, void *stream, unsigned long port,
unsigned long *trial, char *user)
{
tSmbNtlmAuthChallenge *challenge;