Displaying 2 results from an estimated 2 matches for "kbdintresult".
2025 Feb 13
0
[PATCH 1/4] auth: Add KbdintResult definition to define result values explicitly
...--- a/auth-bsdauth.c
+++ b/auth-bsdauth.c
@@ -111,7 +111,7 @@ bsdauth_respond(void *ctx, u_int numresponses, char **responses)
authctxt->as = NULL;
debug3("bsdauth_respond: <%s> = <%d>", responses[0], authok);
- return (authok == 0) ? -1 : 0;
+ return (authok == 0) ? KbdintResultFailure : KbdintResultSuccess;
}
static void
diff --git a/auth-pam.c b/auth-pam.c
index 13c0a792e..5dfa69202 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -990,15 +990,15 @@ sshpam_respond(void *ctx, u_int num, char **resp)
switch (ctxt->pam_done) {
case 1:
sshpam_authenticated = 1;
- r...
2025 Feb 13
4
[PATCH 0/4] [PATCH] Immediately report interactive instructions
...nd discussed in bug
2876 [2], although as per discussion in the said PR thare have been
introduced no options to keep previous behavior working.
[1] https://github.com/openssh/openssh-portable/pull/452
[2] https://bugzilla.mindrot.org/show_bug.cgi?id=2876
Marco Trevisan (Trevi?o) (4):
auth: Add KbdintResult definition to define result values explicitly
auth-pam: Add an enum to define the PAM done status
auth-pam: Add debugging information when we receive PAM messages
auth-pam: Immediately report interactive instructions to clients
auth-bsdauth.c | 2 +-
auth-pam.c | 51 +++++++++++++++++++...