Changeset 2955 for releases

Show
Ignore:
Timestamp:
05/20/06 16:04:43 (3 years ago)
Author:
aj
Message:

rever prior change as it breaks the regression tests.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • releases/opensc-0.11.1/src/pkcs11/misc.c

    r2941 r2955  
    318318        conf->num_slots = SC_PKCS11_DEF_SLOTS_PER_CARD; 
    319319        conf->hide_empty_tokens = 0; 
    320         conf->lock_login = 0; 
     320        conf->lock_login = 1; 
    321321        conf->cache_pins = 0; 
    322322        conf->soft_keygen_allowed = 1; 
     
    336336        conf->num_slots = scconf_get_int(conf_block, "num_slots", conf->num_slots); 
    337337        conf->hide_empty_tokens = scconf_get_bool(conf_block, "hide_empty_tokens", 0); 
    338         conf->lock_login = scconf_get_bool(conf_block, "lock_login", 0); 
     338        conf->lock_login = scconf_get_bool(conf_block, "lock_login", 1); 
    339339        conf->cache_pins = scconf_get_bool(conf_block, "cache_pins", 0); 
    340340        conf->soft_keygen_allowed = scconf_get_bool(conf_block, "soft_keygen_allowed", 1);