summaryrefslogtreecommitdiff
path: root/auth2-chall.c
diff options
context:
space:
mode:
authordjm <djm>2012-12-03 00:25:30 +0000
committerdjm <djm>2012-12-03 00:25:30 +0000
commitfd6b03075b6a3e2b05fbf668d773468a185d2379 (patch)
tree80f9c7c94a624d29a1d5aaabb2be02dd117a1f8f /auth2-chall.c
parent8d5b36555c074ecb26234a4cdd139a0eb141be13 (diff)
downloadopenssh-fd6b03075b6a3e2b05fbf668d773468a185d2379.tar.gz
- djm@cvs.openbsd.org 2012/12/03 00:14:06
[auth2-chall.c ssh-keygen.c] Fix compilation with -Wall -Werror (trivial type fixes)
Diffstat (limited to 'auth2-chall.c')
-rw-r--r--auth2-chall.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth2-chall.c b/auth2-chall.c
index 8fdb3349..6505d400 100644
--- a/auth2-chall.c
+++ b/auth2-chall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-chall.c,v 1.35 2012/12/02 20:34:09 djm Exp $ */
+/* $OpenBSD: auth2-chall.c,v 1.36 2012/12/03 00:14:06 djm Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
* Copyright (c) 2001 Per Allansson. All rights reserved.
@@ -283,7 +283,8 @@ input_userauth_info_response(int type, u_int32_t seq, void *ctxt)
KbdintAuthctxt *kbdintctxt;
int authenticated = 0, res;
u_int i, nresp;
- char *devicename = NULL, **response = NULL;
+ const char *devicename = NULL;
+ char **response = NULL;
if (authctxt == NULL)
fatal("input_userauth_info_response: no authctxt");