Update libedit from NetBSD.
[dragonfly.git] / secure / usr.sbin / sshd / monitor.c.patch
1 $DragonFly: src/secure/usr.sbin/sshd/Attic/monitor.c.patch,v 1.1 2004/07/31 20:05:00 geekgod Exp $
2 --- monitor.c.orig      2004-07-23 14:26:51.000000000 +0200
3 +++ monitor.c   2004-07-23 14:20:00.000000000 +0200
4 @@ -30,8 +30,16 @@
5  #include <openssl/dh.h>
6  
7  #ifdef SKEY
8 +#ifdef OPIE
9 +#include <opie.h>
10 +#define skey                    opie
11 +#define skeychallenge(k, u, c)  opiechallenge((k), (u), (c))
12 +#define skey_haskey(u)          opie_haskey((u))
13 +#define skey_passcheck(u, r)    opie_passverify((u), (r))
14 +#else
15  #include <skey.h>
16  #endif
17 +#endif
18  
19  #include "ssh.h"
20  #include "auth.h"