pkcs15init profile: accept the minimal file-ids difference from GPK profile
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4030 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
22f9b2930e
commit
42d7d22841
|
@ -967,7 +967,7 @@ template_sanity_check(struct state *cur, struct sc_profile *templ)
|
|||
|
||||
dlt = fi_id > ffi_id ? fi_id - ffi_id : ffi_id - fi_id;
|
||||
if (strcmp(ffi->ident, fi->ident)) {
|
||||
if (dlt > TEMPLATE_FILEID_MIN_DIFF)
|
||||
if (dlt >= TEMPLATE_FILEID_MIN_DIFF)
|
||||
continue;
|
||||
|
||||
parse_error(cur, "Template insane: file-ids should be substantially different");
|
||||
|
|
Loading…
Reference in New Issue