summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-11-20 12:35:41 +1100
committerDamien Miller <djm@mindrot.org>2015-11-20 12:35:41 +1100
commitac9473580dcd401f8281305af98635cdaae9bf96 (patch)
treea393c0111f81a8240470b36038adefb89c2772de /monitor.c
parent88b6fcdeb87a2fb76767854d9eb15006662dca57 (diff)
fix multiple authentication using S/Key w/ privsep
bz#2502, patch from Kevin Korb and feandil_
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 395a6f64e..4060a6ec9 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1035,7 +1035,8 @@ mm_answer_skeyrespond(int sock, Buffer *m)
1035 debug3("%s: sending authenticated: %d", __func__, authok); 1035 debug3("%s: sending authenticated: %d", __func__, authok);
1036 mm_request_send(sock, MONITOR_ANS_SKEYRESPOND, m); 1036 mm_request_send(sock, MONITOR_ANS_SKEYRESPOND, m);
1037 1037
1038 auth_method = "skey"; 1038 auth_method = "keyboard-interactive";
1039 auth_submethod = "skey";
1039 1040
1040 return (authok != 0); 1041 return (authok != 0);
1041} 1042}