diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-10 11:23:05 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-10 11:23:05 +0000 |
commit | 7d420fdfd51d78cb5d6382617f2c2e84a59a0db5 (patch) | |
tree | a3f1ed90eb247100a67f44eabe8310302be86a03 | |
parent | a4ea259d44c533c072826ae51be0abe39d6fdb6a (diff) |
RFC 4954 says the response to "AUTH PLAIN" must be "334 ", not "334";
ok gilles@
-rw-r--r-- | usr.sbin/smtpd/smtp_session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c index 3490853b4e1..4f7fb35996a 100644 --- a/usr.sbin/smtpd/smtp_session.c +++ b/usr.sbin/smtpd/smtp_session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtp_session.c,v 1.82 2009/05/09 23:23:38 jacekm Exp $ */ +/* $OpenBSD: smtp_session.c,v 1.83 2009/05/10 11:23:04 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -163,7 +163,7 @@ int session_rfc4616_auth_plain(struct session *s, char *arg, size_t nr) { if (arg == NULL) { - session_respond(s, "334"); + session_respond(s, "334 "); s->s_state = S_AUTH_INIT; return 1; } |