the code to prevent AUTH PLAIN from logging credentials upon authentication
authorgilles <gilles@openbsd.org>
Fri, 15 May 2015 07:34:45 +0000 (07:34 +0000)
committergilles <gilles@openbsd.org>
Fri, 15 May 2015 07:34:45 +0000 (07:34 +0000)
commit6f197337401c695f0776a99b6c85d3c06035fe6f
tree8dfd030ee20ee48eb775b61645530eaf76637997
parentcb653e3c059f989c4546fd1f4813ae2592d38680
the code to prevent AUTH PLAIN from logging credentials upon authentication
failure does not catch the AUTH LOGIN case. rework to use the session state
rather than using the session command.

spotted by pkern@debian.org
usr.sbin/smtpd/smtp_session.c