Set default of hide_empty_tokens to true

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3639 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
alonbl 2009-01-23 09:30:42 +00:00
parent e1d49190c1
commit 09a849c906
2 changed files with 3 additions and 5 deletions

View File

@ -327,10 +327,8 @@ app opensc-pkcs11 {
# the card, the remaining keys will be empty
# (and you will be able to create new objects
# within them).
#
# Set this option to true to hide these empty
# slots.
hide_empty_tokens = yes;
# Default: true
# hide_empty_tokens = false;
# By default, the OpenSC PKCS#11 module will lock your card
# once you authenticate to the card via C_Login.

View File

@ -320,7 +320,7 @@ void load_pkcs11_parameters(struct sc_pkcs11_config *conf, sc_context_t *ctx)
conf->plug_and_play = 1;
conf->max_virtual_slots = 16;
conf->slots_per_card = 4;
conf->hide_empty_tokens = 0;
conf->hide_empty_tokens = 1;
conf->lock_login = 1;
conf->cache_pins = 1;
conf->soft_keygen_allowed = 0;