bugfix
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1986 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
2d2a6d8bac
commit
eb619d1422
|
@ -245,7 +245,7 @@ static int parse_emu_block(sc_pkcs15_card_t *p15card, scconf_block *conf)
|
||||||
name = scconf_get_str(conf, "function", exfunc_name);
|
name = scconf_get_str(conf, "function", exfunc_name);
|
||||||
|
|
||||||
address = scdl_get_address(dll, name);
|
address = scdl_get_address(dll, name);
|
||||||
if (r == SC_SUCCESS)
|
if (address)
|
||||||
init_func_ex = (int (*)(sc_pkcs15_card_t *, sc_pkcs15emu_opt_t *)) address;
|
init_func_ex = (int (*)(sc_pkcs15_card_t *, sc_pkcs15emu_opt_t *)) address;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue