From ac12d715f0dade00cd02408fcd7d4d8eb353a29d Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 13 Nov 2018 12:34:09 +0100 Subject: [PATCH] chg: 'sc raw' - no need to tvl decode twice --- client/cmdsmartcard.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/cmdsmartcard.c b/client/cmdsmartcard.c index 675b9a9b7..a7b45c51d 100644 --- a/client/cmdsmartcard.c +++ b/client/cmdsmartcard.c @@ -232,10 +232,6 @@ int CmdSmartRaw(const char *Cmd) { clearCommandBuffer(); SendCommand(&c); len = smart_response(buf); - - // TLV decoder - if (len > 4) - TLVPrintFromBuffer(buf+1, len-3); data[4] = 0; }