summaryrefslogtreecommitdiffstats
path: root/auth2-jpake.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-11-11 16:33:03 +1100
committerDarren Tucker <dtucker@zip.com.au>2008-11-11 16:33:03 +1100
commitc6d744e9cdce63c250da4f87279d7da459ff4423 (patch)
tree771eb6de8f317913ddaa5daed04a074ced88215a /auth2-jpake.c
parentb57fab6b0b7b30d279bea89409a684b2793fd924 (diff)
- dtucker@cvs.openbsd.org 2008/11/07 23:34:48
[auth2-jpake.c] Move JPAKE define to make life easier for portable. ok djm@
Diffstat (limited to 'auth2-jpake.c')
-rw-r--r--auth2-jpake.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth2-jpake.c b/auth2-jpake.c
index 0029ec26..efe7ff2a 100644
--- a/auth2-jpake.c
+++ b/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.