dovecot-2.2: pop3-login: Fixed APOP authentication, broken by re...

dovecot at dovecot.org dovecot at dovecot.org
Tue Feb 28 05:27:16 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/864187d19761
changeset: 14226:864187d19761
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Feb 28 05:21:19 2012 +0200
description:
pop3-login: Fixed APOP authentication, broken by recent changes.

diffstat:

 src/pop3-login/client.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r e915b7e734e7 -r 864187d19761 src/pop3-login/client.c
--- a/src/pop3-login/client.c	Mon Feb 27 12:02:07 2012 +0200
+++ b/src/pop3-login/client.c	Tue Feb 28 05:21:19 2012 +0200
@@ -198,6 +198,8 @@
 		str_append(str, "[XCLIENT] ");
 	}
 	str_append(str, client->set->login_greeting);
+
+	pop3_client->apop_challenge = get_apop_challenge(pop3_client);
 	if (pop3_client->apop_challenge != NULL)
 		str_printfa(str, " %s", pop3_client->apop_challenge);
 	client_send_reply(client, POP3_CMD_REPLY_OK, str_c(str));


More information about the dovecot-cvs mailing list