aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--udev/ykfde.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/ykfde.c b/udev/ykfde.c
index b89f613..00c2b92 100644
--- a/udev/ykfde.c
+++ b/udev/ykfde.c
@@ -176,6 +176,7 @@ int main(int argc, char **argv) {
}
memset(response, 0, sizeof(response));
+ memset(response_hex, 0, sizeof(response_hex));
/* do challenge/response and encode to hex */
if (!yk_challenge_response(yk, slot, 0, strlen(challenge), (unsigned char *)challenge, sizeof(response), response)) {