Changeset 3157 for releases

Show
Ignore:
Timestamp:
04/24/07 07:54:17 (21 months ago)
Author:
aj
Message:

enable pin caching by default.

Location:
releases/opensc-0.11.2
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • releases/opensc-0.11.2/etc/opensc.conf.in

    r3126 r3157  
    342342                # cache_pins = true 
    343343                # 
    344                 # Default: false 
    345                 # cache_pins = true; 
     344                # Default: true 
     345                # cache_pins = false; 
    346346 
    347347                # Set this value to false if you want to enforce on-card 
  • releases/opensc-0.11.2/src/pkcs11/misc.c

    r3086 r3157  
    319319        conf->hide_empty_tokens = 0; 
    320320        conf->lock_login = 0; 
    321         conf->cache_pins = 0; 
     321        conf->cache_pins = 1; 
    322322        conf->soft_keygen_allowed = 1; 
    323323 
     
    337337        conf->hide_empty_tokens = scconf_get_bool(conf_block, "hide_empty_tokens", 0); 
    338338        conf->lock_login = scconf_get_bool(conf_block, "lock_login", 0); 
    339         conf->cache_pins = scconf_get_bool(conf_block, "cache_pins", 0); 
     339        conf->cache_pins = scconf_get_bool(conf_block, "cache_pins", 1); 
    340340        conf->soft_keygen_allowed = scconf_get_bool(conf_block, "soft_keygen_allowed", 1); 
    341341}