]> andersk Git - openssh.git/blobdiff - auth2-jpake.c
- (dtucker) [sftp-common.c] Wrap include of util.h in an ifdef.
[openssh.git] / auth2-jpake.c
index 0029ec26bf290a250a35553b765316ed78af4f20..5de5506a6641cfe86a830ba8e23e66ab5b72ff95 100644 (file)
@@ -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.3 2009/03/05 07:18:19 djm 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>
 
@@ -40,8 +42,8 @@
 #include "ssh2.h"
 #include "key.h"
 #include "hostfile.h"
-#include "buffer.h"
 #include "auth.h"
+#include "buffer.h"
 #include "packet.h"
 #include "dispatch.h"
 #include "log.h"
 #endif
 #include "monitor_wrap.h"
 
+#include "schnorr.h"
 #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.
@@ -359,7 +360,7 @@ auth2_jpake_get_pwdata(Authctxt *authctxt, BIGNUM **s,
 }
 
 /*
- * Being authentication attempt.
+ * Begin authentication attempt.
  * Note, sets authctxt->postponed while in subprotocol
  */
 static int
This page took 0.771787 seconds and 4 git commands to generate.