opendoas

my fork of doas with custom prompt
git clone git://git.kocotian.pl/opendoas.git
Log | Files | Refs | README | LICENSE

commit b38cfb8a3adbe1d62fd57e2fe3f909d191cbbb0c
parent 0a42dd6437c3c056e8e5c99096ce7e060cabcc0d
Author: Duncan Overbruck <mail@duncano.de>
Date:   Thu, 12 Nov 2020 16:21:04 +0100

pam.c: remove dead assignment

Diffstat:
Mpam.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pam.c b/pam.c @@ -124,7 +124,7 @@ fail: for (i = 0; i < nmsgs; i++) { if (rsp[i].resp == NULL) continue; - switch (style = msgs[i]->msg_style) { + switch (msgs[i]->msg_style) { case PAM_PROMPT_ECHO_OFF: case PAM_PROMPT_ECHO_ON: explicit_bzero(rsp[i].resp, strlen(rsp[i].resp));