diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-05-08 17:02:12 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-05-08 17:02:12 -0600 |
commit | c1be3b9cad0cf1b7a791d27fe3ab3fc95d75e6e9 (patch) | |
tree | ebe96027831608f1caf1b997e989083d1aca69cb /imap/src | |
parent | 4dc6d4636706e454d042bc599be9f97660f2e2b1 (diff) | |
download | alpine-c1be3b9cad0cf1b7a791d27fe3ab3fc95d75e6e9.tar.xz |
* Bug prevented development version from establishing a XOAUTH2 authentication.
Diffstat (limited to 'imap/src')
-rw-r--r-- | imap/src/c-client/auth_oa2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/c-client/auth_oa2.c b/imap/src/c-client/auth_oa2.c index 1608ad0c..4c4a5898 100644 --- a/imap/src/c-client/auth_oa2.c +++ b/imap/src/c-client/auth_oa2.c @@ -92,7 +92,7 @@ long auth_oauth2_client (authchallenge_t challenger,authrespond_t responder, cha mm_log ("SECURITY PROBLEM: insecure server advertised AUTH=XOAUTH2",WARN); /* get initial (empty) challenge */ - if ((challenge = (*challenger) (stream,&clen)) != NULL) { + if (base || (challenge = (*challenger) (stream,&clen)) != NULL) { if(base == NIL){ fs_give ((void **) &challenge); if (clen) { /* abort if challenge non-empty */ |