aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-25 18:28:33 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-25 18:28:33 +0000
commit6ac5da508913c682bb58431e7be6c88ca988c224 (patch)
tree237df88b58eb9176ad291a7a000698cab9dbf13c /pop3.c
parentc4a0229a4d45b7319e63a9a3359429ebc5c99a06 (diff)
downloadfetchmail-6ac5da508913c682bb58431e7be6c88ca988c224.tar.gz
fetchmail-6ac5da508913c682bb58431e7be6c88ca988c224.tar.bz2
fetchmail-6ac5da508913c682bb58431e7be6c88ca988c224.zip
Simplified OTP logic.
svn path=/trunk/; revision=1413
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/pop3.c b/pop3.c
index 665bd9ea..254aa6b0 100644
--- a/pop3.c
+++ b/pop3.c
@@ -140,22 +140,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting)
{
char response[OPIE_RESPONSE_MAX+1];
- /*
- * Special case in case we're running Craig Metz's
- * OPIE daemon. Code in opiegenerator() will detect this.
- */
- if (strcmp(ctl->password, "opie") == 0)
- {
- if (ok = opiegenerator(challenge, "", response))
- if (ok != 2)
- PROTOCOL_ERROR
- }
-
- /*
- * Otherwise, generate a challenge from whatever secret we
- * have previously collected.
- */
- else if (opiegenerator(challenge, ctl->password, response))
+ if (opiegenerator(challenge, ctl->password, response))
PROTOCOL_ERROR
ok = gen_transact(sock, "PASS %s", response);