]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Accept empty password and/or response in auth-pam plugin
authorSelva Nair <selva.nair@gmail.com>
Wed, 8 Aug 2018 02:44:31 +0000 (22:44 -0400)
committerGert Doering <gert@greenie.muc.de>
Wed, 8 Aug 2018 07:35:34 +0000 (09:35 +0200)
commit7a8109023f4c345fe12f23421c5fa7e88e1ea85b
treedd581d3d03b4dc6cddea3bb9df61915934c81183
parentda0a42ca98623487726162b8710690cd3d003a63
Accept empty password and/or response in auth-pam plugin

In the auth-pam plugin correctly parse the static challenge string
even when password or challenge response is empty.

Whether an empty user input is an error is determined by the PAM
conversation function depending on whether the PAM module queries
for it or not.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1533696271-21799-2-git-send-email-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17382.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/plugins/auth-pam/auth-pam.c