From 7d420fdfd51d78cb5d6382617f2c2e84a59a0db5 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Sun, 10 May 2009 11:23:05 +0000 Subject: RFC 4954 says the response to "AUTH PLAIN" must be "334 ", not "334"; ok gilles@ --- usr.sbin/smtpd/smtp_session.c | 4 ++-- 1 file 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 @@ -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; } -- cgit v1.2.3