summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth2-chall.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2007-09-21 08:15:30 +0000
committerDamien Miller <djm@cvs.openbsd.org>2007-09-21 08:15:30 +0000
commitb7d34ffd4ad67446fdc4af94d1f761f575d7a0a3 (patch)
treea92353ff54def80621c9be63341f8b6c598665c0 /usr.bin/ssh/auth2-chall.c
parent0f01e992d3d8a3d3204138d2f60fe570d1eb1981 (diff)
unifdef -DBSD_AUTH
unifdef -USKEY These options have been in use for some years; ok markus@ "no objection" millert@
Diffstat (limited to 'usr.bin/ssh/auth2-chall.c')
-rw-r--r--usr.bin/ssh/auth2-chall.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/usr.bin/ssh/auth2-chall.c b/usr.bin/ssh/auth2-chall.c
index 1bb9df4d328..eef7b203465 100644
--- a/usr.bin/ssh/auth2-chall.c
+++ b/usr.bin/ssh/auth2-chall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-chall.c,v 1.32 2007/01/03 03:01:40 stevesk Exp $ */
+/* $OpenBSD: auth2-chall.c,v 1.33 2007/09/21 08:15:29 djm Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
* Copyright (c) 2001 Per Allansson. All rights reserved.
@@ -43,22 +43,10 @@ static int auth2_challenge_start(Authctxt *);
static int send_userauth_info_request(Authctxt *);
static void input_userauth_info_response(int, u_int32_t, void *);
-#ifdef BSD_AUTH
extern KbdintDevice bsdauth_device;
-#else
-#ifdef SKEY
-extern KbdintDevice skey_device;
-#endif
-#endif
KbdintDevice *devices[] = {
-#ifdef BSD_AUTH
&bsdauth_device,
-#else
-#ifdef SKEY
- &skey_device,
-#endif
-#endif
NULL
};
@@ -319,19 +307,7 @@ input_userauth_info_response(int type, u_int32_t seq, void *ctxt)
void
privsep_challenge_enable(void)
{
-#ifdef BSD_AUTH
extern KbdintDevice mm_bsdauth_device;
-#else
-#ifdef SKEY
- extern KbdintDevice mm_skey_device;
-#endif
-#endif
/* As long as SSHv1 has devices[0] hard coded this is fine */
-#ifdef BSD_AUTH
devices[0] = &mm_bsdauth_device;
-#else
-#ifdef SKEY
- devices[0] = &mm_skey_device;
-#endif
-#endif
}