diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-01-26 02:34:43 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-01-26 02:34:43 -0700 |
commit | c9fc05a6bfdfd50231d58fe572e524108089c98d (patch) | |
tree | 16f96a5227614d8d8473f13e39ec098e7077b1e7 /imap/src/c-client/imap4r1.c | |
parent | a75a6e47a5c181dc3e6c039b2c06103085ef9dff (diff) | |
download | alpine-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/imap4r1.c')
-rw-r--r-- | imap/src/c-client/imap4r1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/imap/src/c-client/imap4r1.c b/imap/src/c-client/imap4r1.c index 97a43a86..86354d40 100644 --- a/imap/src/c-client/imap4r1.c +++ b/imap/src/c-client/imap4r1.c @@ -1,7 +1,7 @@ /* - * Copyright 2016-2018 Eduardo Chappa + * Copyright 2016-2020 Eduardo Chappa * - * Last Edited: May 5, 2018 Eduardo Chappa <alpine.chappa@gmx.com> + * Last Edited: Jan 26, 2020 Eduardo Chappa <alpine.chappa@gmx.com> * */ /* ======================================================================== @@ -1180,7 +1180,7 @@ long imap_auth (MAILSTREAM *stream,NETMBX *mb,char *tmp,char *usr) /* hide client authentication responses */ if (!(at->flags & AU_SECURE)) LOCAL->sensitive = T; ok = (*at->client) (imap_challenge,imap_response,"imap",mb,stream, - &trial,usr); + net_port(LOCAL->netstream),&trial,usr); LOCAL->sensitive = NIL; /* unhide */ /* make sure have a response */ if (!(reply = &LOCAL->reply)->tag) |