summaryrefslogtreecommitdiff
path: root/auth2-chall.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-04 00:14:17 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-04 00:14:17 +0000
commita962c2fb35b909a361b3ce0f9eaa670b72e15ece (patch)
tree16f40c8c213b67dc6086983e81a2d4db2e1adba0 /auth2-chall.c
parent5a9d0eaba699968ae29bf560e4546d09edcb440d (diff)
- deraadt@cvs.openbsd.org 2002/06/30 21:59:45
[auth-bsdauth.c auth-skey.c auth2-chall.c clientloop.c key.c monitor_wrap.c monitor_wrap.h scard.h session.h sftp-glob.c ssh.c sshconnect2.c sshd.c] minor KNF
Diffstat (limited to 'auth2-chall.c')
-rw-r--r--auth2-chall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-chall.c b/auth2-chall.c
index e1440f47d..0d1709307 100644
--- a/auth2-chall.c
+++ b/auth2-chall.c
@@ -23,7 +23,7 @@
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth2-chall.c,v 1.19 2002/06/26 13:55:37 markus Exp $"); 26RCSID("$OpenBSD: auth2-chall.c,v 1.20 2002/06/30 21:59:45 deraadt Exp $");
27 27
28#include "ssh2.h" 28#include "ssh2.h"
29#include "auth.h" 29#include "auth.h"
@@ -263,7 +263,7 @@ input_userauth_info_response(int type, u_int32_t seq, void *ctxt)
263 if (nresp > 100) 263 if (nresp > 100)
264 fatal("input_userauth_info_response: too many replies"); 264 fatal("input_userauth_info_response: too many replies");
265 if (nresp > 0) { 265 if (nresp > 0) {
266 response = xmalloc(nresp * sizeof(char*)); 266 response = xmalloc(nresp * sizeof(char *));
267 for (i = 0; i < nresp; i++) 267 for (i = 0; i < nresp; i++)
268 response[i] = packet_get_string(NULL); 268 response[i] = packet_get_string(NULL);
269 } 269 }