Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 93770cc6

Von martin vor mehr als 15 Jahren hinzugefügt

  • ID 93770cc6aaa87506a0df0df0c81895ebe88a649a
  • Vorgänger 136bfd78
  • Nachfolger 21bf8e28

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

Unterschiede anzeigen:

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