summaryrefslogtreecommitdiff
path: root/imap/src/c-client/auth_log.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_log.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_log.c')
-rw-r--r--imap/src/c-client/auth_log.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/imap/src/c-client/auth_log.c b/imap/src/c-client/auth_log.c
index a54d6365..9c8d76ab 100644
--- a/imap/src/c-client/auth_log.c
+++ b/imap/src/c-client/auth_log.c
@@ -1,4 +1,5 @@
/* ========================================================================
+ * Copyright 2020 Eduardo Chappa
* Copyright 1988-2006 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -27,7 +28,7 @@
*/
long auth_login_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);
char *auth_login_server (authresponse_t responder,int argc,char *argv[]);
@@ -55,7 +56,7 @@ AUTHENTICATOR auth_log = {
*/
long auth_login_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)
{
char *pwd = NIL;