From dd61164410ee185750d1aa55ee0e33dcab8f4542 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 16 Jan 2020 19:38:54 +0100 Subject: [PATCH] scd:piv: Remove debug code from a recent commit. * scd/app-piv.c (ask_and_prepare_chv): here. -- The test code from the last PIV change was accidently kept enabled. Fixes-commit: 2dd6b4b998dd6e156e2e75ede0f40fb768c69f40 Signed-off-by: Werner Koch --- scd/app-piv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scd/app-piv.c b/scd/app-piv.c index 31bde4666..1b3e2e75b 100644 --- a/scd/app-piv.c +++ b/scd/app-piv.c @@ -1920,8 +1920,7 @@ ask_and_prepare_chv (app_t app, ctrl_t ctrl, default: return gpg_error (GPG_ERR_INV_ID); } -#warning debug... - no_cache =0; + /* Ask for the PIN. */ if (!no_cache && remaining >= 3 && pin_from_cache (app, ctrl, keyref, &pinvalue))