Update libedit from NetBSD.
[dragonfly.git] / secure / usr.sbin / sshd / auth-skey.c.patch
1 # $DragonFly: src/secure/usr.sbin/sshd/Attic/auth-skey.c.patch,v 1.2 2004/08/30 21:59:58 geekgod Exp $
2 --- ./auth-skey.c       2004-04-14 07:24:30.000000000 +0000
3 +++ /home/sullrich/openssh-3.9p1/auth-skey.c    2004-08-19 17:25:57.000000000 +0000
4 @@ -26,7 +26,15 @@
5  
6  #ifdef SKEY
7  
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  
18  #include "xmalloc.h"
19  #include "auth.h"