diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-02-05 04:10:43 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-02-05 04:10:43 +0000 |
commit | f14635152fcc38a703f806dcfeb3fc51d3e55365 (patch) | |
tree | 0ed6186184ab0c6b84bb742c9b89a89a1a978fb7 /imap.c | |
parent | 6cb8b67abddf3391db61e3839c98b88320395249 (diff) | |
download | fetchmail-f14635152fcc38a703f806dcfeb3fc51d3e55365.tar.gz fetchmail-f14635152fcc38a703f806dcfeb3fc51d3e55365.tar.bz2 fetchmail-f14635152fcc38a703f806dcfeb3fc51d3e55365.zip |
LinuxWorld hacks.
svn path=/trunk/; revision=2729
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -894,7 +894,11 @@ int imap_getauth(int sock, struct query *ctl, char *greeting) else expunge_period = 1; - if (preauth) + /* + * If either (a) we saw a PREAUTH token in the capability response, or + * (b) the user specified ssh preauthentication, then we're done. + */ + if (preauth || ctl->server.preauthenticate == A_SSH) return(PS_SUCCESS); #if OPIE_ENABLE |