summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2008-11-07 23:34:48 +0000
committerdtucker <dtucker@openbsd.org>2008-11-07 23:34:48 +0000
commit8cdc75f4a5afbc271977d1e1479314f792116eb3 (patch)
tree899523c72c19eb754d9ab774ed92bada7b50a6dc
parentWhen initializing the MAC put the PHY into ready state for BCM5906 (diff)
downloadwireguard-openbsd-8cdc75f4a5afbc271977d1e1479314f792116eb3.tar.xz
wireguard-openbsd-8cdc75f4a5afbc271977d1e1479314f792116eb3.zip
Move JPAKE define to make life easier for portable. ok djm@
-rw-r--r--usr.bin/ssh/auth2-jpake.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/auth2-jpake.c b/usr.bin/ssh/auth2-jpake.c
index 8bc0eaa7954..cdd8af2f93c 100644
--- a/usr.bin/ssh/auth2-jpake.c
+++ b/usr.bin/ssh/auth2-jpake.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-jpake.c,v 1.1 2008/11/04 08:22:12 djm Exp $ */
+/* $OpenBSD: auth2-jpake.c,v 1.2 2008/11/07 23:34:48 dtucker Exp $ */
/*
* Copyright (c) 2008 Damien Miller. All rights reserved.
*
@@ -25,6 +25,8 @@
* http://grouper.ieee.org/groups/1363/Research/contributions/hao-ryan-2008.pdf
*/
+#ifdef JPAKE
+
#include <sys/types.h>
#include <sys/param.h>
@@ -55,8 +57,6 @@
#include "jpake.h"
-#ifdef JPAKE
-
/*
* XXX options->permit_empty_passwd (at the moment, they will be refused
* anyway because they will mismatch on fake salt.