Revision 93770cc6
Von martin vor mehr als 15 Jahren hinzugefügt
src/ct/ddvcard/ddvcard.c | ||
---|---|---|
GWEN_PLUGIN *pl;
|
||
|
||
pl=LC_Crypt_TokenDDV_Plugin_new(pm, modName, fileName);
|
||
assert(pl);
|
||
if (pl==NULL) {
|
||
DBG_ERROR(LC_LOGDOMAIN, "No plugin created");
|
||
return NULL;
|
||
}
|
||
|
||
return pl;
|
||
}
|
||
... | ... | |
res=LC_Client_Init(cpl->client);
|
||
if (res!=LC_Client_ResultOk) {
|
||
DBG_ERROR(LC_LOGDOMAIN,
|
||
"Error reading libchipcard3 client configuration (%d).", res);
|
||
"Error initialising libchipcard (%d), chipcards will not be available",
|
||
res);
|
||
GWEN_Plugin_free(pl);
|
||
return 0;
|
||
return NULL;
|
||
}
|
||
|
||
/* set virtual functions */
|
Auch abrufbar als: Unified diff
Removed assertions.
This could have crashed the application if the pcscd isn't running.
git-svn-id: https://devel.aqbanking.de/svn/libchipcard/trunk@560 bfc04c16-8f10-0410-8200-ddfbc4d55d47