summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2008-11-07 23:34:49 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2008-11-07 23:34:49 +0000
commit9d594ad3960f203a99672bae0398bdcdf497711f (patch)
tree36d579ef8499598f30654a026dc156bd975d1e9e /usr.bin
parentb05f3644dc706d2372df866471b27d4a7368a78d (diff)
Move JPAKE define to make life easier for portable. ok djm@
Diffstat (limited to 'usr.bin')
-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.