diff options
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -37,7 +37,13 @@ RCSID("$OpenBSD: monitor.c,v 1.55 2004/02/05 05:37:17 dtucker Exp $"); | |||
37 | #include "auth.h" | 37 | #include "auth.h" |
38 | #include "kex.h" | 38 | #include "kex.h" |
39 | #include "dh.h" | 39 | #include "dh.h" |
40 | #ifdef TARGET_OS_MAC /* XXX Broken krb5 headers on Mac */ | ||
41 | #undef TARGET_OS_MAC | ||
40 | #include "zlib.h" | 42 | #include "zlib.h" |
43 | #define TARGET_OS_MAC 1 | ||
44 | #else | ||
45 | #include "zlib.h" | ||
46 | #endif | ||
41 | #include "packet.h" | 47 | #include "packet.h" |
42 | #include "auth-options.h" | 48 | #include "auth-options.h" |
43 | #include "sshpty.h" | 49 | #include "sshpty.h" |
@@ -738,7 +744,8 @@ mm_answer_skeyquery(int socket, Buffer *m) | |||
738 | char challenge[1024]; | 744 | char challenge[1024]; |
739 | u_int success; | 745 | u_int success; |
740 | 746 | ||
741 | success = skeychallenge(&skey, authctxt->user, challenge) < 0 ? 0 : 1; | 747 | success = _compat_skeychallenge(&skey, authctxt->user, challenge, |
748 | sizeof(challenge)) < 0 ? 0 : 1; | ||
742 | 749 | ||
743 | buffer_clear(m); | 750 | buffer_clear(m); |
744 | buffer_put_int(m, success); | 751 | buffer_put_int(m, success); |