From e253d923d4f43107d00c0b8a6f446efc80c5d191 Mon Sep 17 00:00:00 2001 From: des Date: Fri, 1 Aug 2008 00:27:48 +0000 Subject: Revert an old hack I put in to replace S/Key with OPIE. We haven't used that code in ages - we use pam_opie(8) instead - so this is a NOP. --- crypto/openssh/auth-skey.c | 9 --------- crypto/openssh/config.h | 3 --- crypto/openssh/monitor.c | 9 --------- 3 files changed, 21 deletions(-) (limited to 'crypto') diff --git a/crypto/openssh/auth-skey.c b/crypto/openssh/auth-skey.c index 426b052..25073db 100644 --- a/crypto/openssh/auth-skey.c +++ b/crypto/openssh/auth-skey.c @@ -24,7 +24,6 @@ */ #include "includes.h" -__RCSID("$FreeBSD$"); #ifdef SKEY @@ -33,15 +32,7 @@ __RCSID("$FreeBSD$"); #include #include -#ifdef OPIE -#include -#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 -#endif #include "xmalloc.h" #include "key.h" diff --git a/crypto/openssh/config.h b/crypto/openssh/config.h index 88412ab..d135826 100644 --- a/crypto/openssh/config.h +++ b/crypto/openssh/config.h @@ -1141,9 +1141,6 @@ /* Define if you want OpenSSL's internally seeded PRNG only */ #define OPENSSL_PRNG_ONLY 1 -/* Define if S/Key is actually OPIE */ -/* #undef OPIE */ - /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "openssh-unix-dev@mindrot.org" diff --git a/crypto/openssh/monitor.c b/crypto/openssh/monitor.c index 8702a91..48ae46c 100644 --- a/crypto/openssh/monitor.c +++ b/crypto/openssh/monitor.c @@ -26,7 +26,6 @@ */ #include "includes.h" -__RCSID("$FreeBSD$"); #include #include @@ -47,16 +46,8 @@ __RCSID("$FreeBSD$"); #include #ifdef SKEY -#ifdef OPIE -#include -#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 #endif -#endif #include -- cgit v1.1