summaryrefslogtreecommitdiff
path: root/auth2-chall.c
diff options
context:
space:
mode:
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 4cfd8ff5b..980250a91 100644
--- a/auth2-chall.c
+++ b/auth2-chall.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-chall.c,v 1.40 2014/01/31 16:39:19 tedu Exp $ */ 1/* $OpenBSD: auth2-chall.c,v 1.41 2014/02/02 03:44:31 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * Copyright (c) 2001 Per Allansson. All rights reserved. 4 * Copyright (c) 2001 Per Allansson. All rights reserved.
@@ -312,7 +312,7 @@ input_userauth_info_response(int type, u_int32_t seq, void *ctxt)
312 res = kbdintctxt->device->respond(kbdintctxt->ctxt, nresp, response); 312 res = kbdintctxt->device->respond(kbdintctxt->ctxt, nresp, response);
313 313
314 for (i = 0; i < nresp; i++) { 314 for (i = 0; i < nresp; i++) {
315 memset(response[i], 'r', strlen(response[i])); 315 explicit_bzero(response[i], strlen(response[i]));
316 free(response[i]); 316 free(response[i]);
317 } 317 }
318 free(response); 318 free(response);