aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-09-25 13:04:55 +0000
committerDavid Shaw <[email protected]>2004-09-25 13:04:55 +0000
commit2ff6607f0d0a3e911cb02c719dabc8e5cf6a994b (patch)
tree4980aecbdb74dbb13990a4673bf24defa1d8db9a /g10/options.h
parent* main.h: Create S2K_DIGEST_ALGO macro so we do not need to always set (diff)
downloadgnupg-2ff6607f0d0a3e911cb02c719dabc8e5cf6a994b.tar.gz
gnupg-2ff6607f0d0a3e911cb02c719dabc8e5cf6a994b.zip
* main.h, g10.c (main), card-util.c (change_pin): If "admin" has not been
issued, skip right to the CHV1/CHV2 PIN change. No need to show the unblock or admin PIN change option. (card_edit): Add "admin" command to add admin commands to the menu. Do not allow admin commands until "admin" is given. * app-openpgp.c (verify_chv3): Show a countdown of how many wrong admin PINs can be entered before the card is locked. * options.h, g10.c (main), app-openpgp.c (verify_chv3): Remove --allow-admin.
Diffstat (limited to '')
-rw-r--r--g10/options.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/g10/options.h b/g10/options.h
index db6932dc6..f952eeab4 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -197,7 +197,6 @@ struct
const char *ctapi_driver; /* Library to access the ctAPI. */
const char *pcsc_driver; /* Library to access the PC/SC system. */
int disable_ccid; /* Disable the use of the internal CCID driver. */
- int allow_admin; /* Allow the use of Admin commands. */
#endif /*ENABLE_CARD_SUPPORT*/
} opt;