diff options
author | Werner Koch <wk@gnupg.org> | 2020-01-16 19:38:54 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-01-16 19:38:54 +0100 |
commit | dd61164410ee185750d1aa55ee0e33dcab8f4542 (patch) | |
tree | bb7e4a323225515d605b1d4da4a7ded809f8e0ce /scd | |
parent | gpg: Print better debug info in case of broken sig subpackets. (diff) | |
download | gnupg2-dd61164410ee185750d1aa55ee0e33dcab8f4542.tar.xz gnupg2-dd61164410ee185750d1aa55ee0e33dcab8f4542.zip |
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 <wk@gnupg.org>
Diffstat (limited to 'scd')
-rw-r--r-- | scd/app-piv.c | 3 |
1 files changed, 1 insertions, 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)) |