summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth2.c b/auth2.c
index 4c18d232d..61fd0a738 100644
--- a/auth2.c
+++ b/auth2.c
@@ -121,6 +121,8 @@ do_authentication2(void)
121 options.kbd_interactive_authentication = 1; 121 options.kbd_interactive_authentication = 1;
122 if (options.pam_authentication_via_kbd_int) 122 if (options.pam_authentication_via_kbd_int)
123 options.kbd_interactive_authentication = 1; 123 options.kbd_interactive_authentication = 1;
124 if (use_privsep)
125 options.pam_authentication_via_kbd_int = 0;
124 126
125 dispatch_init(&dispatch_protocol_error); 127 dispatch_init(&dispatch_protocol_error);
126 dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); 128 dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);