From 005e25d3baf4ec0451b1db1a2d122146801b7d39 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Tue, 4 Feb 2014 12:53:09 +0100 Subject: [PATCH] TODO --- yubico-piv-tool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/yubico-piv-tool.c b/yubico-piv-tool.c index 56b0dd8..9161ad4 100644 --- a/yubico-piv-tool.c +++ b/yubico-piv-tool.c @@ -285,6 +285,7 @@ static bool set_mgm_key(SCARDHANDLE *card, unsigned const char *new_key, int ver unsigned long recv_len = sizeof(data); int sw; + /* TODO: check that it's a good key before setting. */ memset(apdu.raw, 0, sizeof(apdu)); apdu.st.ins = 0xff; apdu.st.p1 = 0xff;