summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-05-10 13:06:24 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-05-10 13:06:24 +0000
commit25481438f6b66aba726e98bf657a191c59fd9a78 (patch)
tree651afab54bf28ce36f5431c61e199a85853f414d /usr.sbin
parent3f2d2093d1264c9009eab80392de9c284a0804e4 (diff)
use rfc number 4954 in auth_plain handler name, rfc 4616 is implied
because rfc 4954 references it.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtp_session.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index bd69858a9ed..7a7efde94cc 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.84 2009/05/10 11:29:40 jacekm Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.85 2009/05/10 13:06:23 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -60,7 +60,7 @@ int session_rfc1652_mail_handler(struct session *, char *);
int session_rfc3207_stls_handler(struct session *, char *);
int session_rfc4954_auth_handler(struct session *, char *);
-int session_rfc4616_auth_plain(struct session *, char *, size_t);
+int session_rfc4954_auth_plain(struct session *, char *, size_t);
int session_rfc4954_auth_login(struct session *, char *, size_t);
void session_auth_pickup(struct session *, char *, size_t);
@@ -153,7 +153,7 @@ session_rfc4954_auth_handler(struct session *s, char *args)
*eom++ = '\0';
if (strcasecmp(method, "PLAIN") == 0)
- return session_rfc4616_auth_plain(s, eom, eom ? strlen(eom) : 0);
+ return session_rfc4954_auth_plain(s, eom, eom ? strlen(eom) : 0);
else if (strcasecmp(method, "LOGIN") == 0)
return session_rfc4954_auth_login(s, eom, eom ? strlen(eom) : 0);
@@ -163,7 +163,7 @@ session_rfc4954_auth_handler(struct session *s, char *args)
}
int
-session_rfc4616_auth_plain(struct session *s, char *arg, size_t nr)
+session_rfc4954_auth_plain(struct session *s, char *arg, size_t nr)
{
if (arg == NULL) {
session_respond(s, "334 ");
@@ -549,7 +549,7 @@ session_auth_pickup(struct session *s, char *arg, size_t nr)
switch (s->s_state) {
case S_AUTH_INIT:
- session_rfc4616_auth_plain(s, arg, nr);
+ session_rfc4954_auth_plain(s, arg, nr);
break;
case S_AUTH_USERNAME:
session_rfc4954_auth_login(s, arg, nr);