aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-07-19 12:14:39 +0000
committerWerner Koch <[email protected]>2005-07-19 12:14:39 +0000
commita0b4f403018fc1fb54286174467f52fdf0426bf1 (patch)
tree691b98eaf69d9e2e56045711cdae199d2a369094 /g10/options.h
parent* configure.ac [W32]: Always set DISABLE_KEYSERVER_PATH. (diff)
downloadgnupg-a0b4f403018fc1fb54286174467f52fdf0426bf1.tar.gz
gnupg-a0b4f403018fc1fb54286174467f52fdf0426bf1.zip
* g10.c, options.h: New option --limit-card-insert-tries.
* cardglue.c (open_card): Use it.
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index 05741a937..45744e57b 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -195,6 +195,8 @@ struct
byte *show_subpackets;
int rfc2440_text;
+ int limit_card_insert_tries; /* If > 0, limit the number of card
+ insertion prompts to this value. */
#ifdef ENABLE_CARD_SUPPORT
const char *ctapi_driver; /* Library to access the ctAPI. */
const char *pcsc_driver; /* Library to access the PC/SC system. */