Changeset 43
- Timestamp:
- 02/12/06 12:48:39 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/opensc.tokend/Tokend-11/OpenSC/OpenSCToken.cpp
r40 r43 77 77 { 78 78 otdLog("In OpenSCToken::changePIN(%d)\n", pinNum); 79 int r;80 79 if (pinNum != 1) 81 80 CssmError::throwMe(CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED); … … 237 236 // get the score 238 237 scconf_block *conf_block = NULL; 239 conf_block = sc_get_conf_block(mScCtx, "framework", "tokend", 1);240 if (conf_block ) {238 conf_block = sc_get_conf_block(mScCtx, "framework", "tokend", 0); 239 if (conf_block != NULL) { 241 240 score = scconf_get_int(conf_block, "score", 50); 242 241 } else {
