diff options
author | des <des@FreeBSD.org> | 2002-06-29 10:44:37 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-06-29 10:44:37 +0000 |
commit | 4d49e874a98f2f5132b00b21cc2e6cd067f67c8f (patch) | |
tree | 8a2e55c734b859d50b5ee7776a4b6c24c8a176e5 /crypto/openssh/monitor.c | |
parent | 3aa72d2c55b928a8d2b106c4f67e6b2d4117a6bb (diff) | |
download | FreeBSD-src-4d49e874a98f2f5132b00b21cc2e6cd067f67c8f.zip FreeBSD-src-4d49e874a98f2f5132b00b21cc2e6cd067f67c8f.tar.gz |
Support OPIE as an alternative to S/Key.
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'crypto/openssh/monitor.c')
-rw-r--r-- | crypto/openssh/monitor.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/openssh/monitor.c b/crypto/openssh/monitor.c index 39b6248..1770e67 100644 --- a/crypto/openssh/monitor.c +++ b/crypto/openssh/monitor.c @@ -26,12 +26,21 @@ #include "includes.h" RCSID("$OpenBSD: monitor.c,v 1.16 2002/06/21 05:50:51 djm Exp $"); +RCSID("$FreeBSD$"); #include <openssl/dh.h> #ifdef SKEY +#ifdef OPIE +#include <opie.h> +#define skey opie +#define skeychallenge(k, u, c) opiechallenge((k), (u), (c)) +#define skey_haskey(u) opie_haskey((u)) +#define skey_passcheck(u, r) opie_passverify((u), (r)) +#else #include <skey.h> #endif +#endif #include "ssh.h" #include "auth.h" |