fix comment, remove label.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22475 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -595,7 +595,6 @@ add_cert(hx509_context hxctx, void *ctx, hx509_cert cert)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static CK_RV
|
static CK_RV
|
||||||
add_certificate(const char *cert_file,
|
add_certificate(const char *cert_file,
|
||||||
const char *pin,
|
const char *pin,
|
||||||
@@ -789,7 +788,7 @@ read_conf_file(const char *fn, CK_USER_TYPE userType, const char *pin)
|
|||||||
st_logf("unknown type: %s\n", type);
|
st_logf("unknown type: %s\n", type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
out:
|
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
return failed;
|
return failed;
|
||||||
@@ -873,8 +872,8 @@ C_Initialize(CK_VOID_PTR a)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX this should really fail if the password is missing and the
|
* This operations doesn't return CKR_OK if any of the
|
||||||
* cert-store is protected by a password
|
* certificates failes to be unparsed (ie password protected).
|
||||||
*/
|
*/
|
||||||
ret = read_conf_file(soft_token.config_file, CKU_USER, NULL);
|
ret = read_conf_file(soft_token.config_file, CKU_USER, NULL);
|
||||||
if (ret == CKR_OK)
|
if (ret == CKR_OK)
|
||||||
|
Reference in New Issue
Block a user