diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-04-14 17:24:30 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-04-14 17:24:30 +1000 |
commit | 06a8cfe796bc9afb8bdd9127f348139ec68809fd (patch) | |
tree | cacace28ddb2b3e2611bdaed86e60a581cd6ff28 /monitor.c | |
parent | 3b908f65b4b668d20ef0d20c695cb053829bdaef (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |