summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-04-14 17:24:30 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-04-14 17:24:30 +1000
commit06a8cfe796bc9afb8bdd9127f348139ec68809fd (patch)
treecacace28ddb2b3e2611bdaed86e60a581cd6ff28 /monitor.c
parent3b908f65b4b668d20ef0d20c695cb053829bdaef (diff)
- (dtucker) [auth-skey.c defines.h monitor.c] Make skeychallenge explicitly
4-arg, with compatibility for 3-arg versions. From djm@, ok me.
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 37d40fcca..9c30c1c39 100644
--- a/monitor.c
+++ b/monitor.c
@@ -744,7 +744,8 @@ mm_answer_skeyquery(int socket, Buffer *m)
744 char challenge[1024]; 744 char challenge[1024];
745 u_int success; 745 u_int success;
746 746
747 success = skeychallenge(&skey, authctxt->user, challenge) < 0 ? 0 : 1; 747 success = _compat_skeychallenge(&skey, authctxt->user, challenge,
748 sizeof(challenge)) < 0 ? 0 : 1;
748 749
749 buffer_clear(m); 750 buffer_clear(m);
750 buffer_put_int(m, success); 751 buffer_put_int(m, success);