]> 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>
Thu, 7 May 2020 11:43:05 +0000 (13:43 +0200)
commitcab48ad43eaba51c54fa23e55b0b2eb436dd921f
tree35996df5a9dd2405d5a9ad896aaa2429bc736c6d
parentb89e48b015e581a4a0f5c306e2ab20da34c862ea
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>
(cherry picked from commit 7a8109023f4c345fe12f23421c5fa7e88e1ea85b)
src/plugins/auth-pam/auth-pam.c