-/* $OpenBSD: auth-skey.c,v 1.23 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth-skey.c,v 1.26 2006/08/05 08:28:24 dtucker Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
*
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#include "includes.h"
#ifdef SKEY
+#include <sys/types.h>
+
+#include <pwd.h>
+#include <stdio.h>
+
#include <skey.h>
#include "xmalloc.h"
+#include "key.h"
+#include "hostfile.h"
#include "auth.h"
+#include "ssh-gss.h"
#include "monitor_wrap.h"
static void *
u_int* numprompts, char ***prompts, u_int **echo_on)
{
Authctxt *authctxt = ctx;
- char challenge[1024], *p;
- int len;
+ char challenge[1024];
struct skey skey;
if (_compat_skeychallenge(&skey, authctxt->user, challenge,