Bug #132 » aqbanking-5.99.39beta.diff
src/libs/plugins/backends/aqhbci/banking/provider_tan.c | ||
---|---|---|
return rv;
|
||
}
|
||
/* Workaround for BNP Paribas/Consorsbank */
|
||
if (AH_TanMechanism_GetTanMethodId(tanMechanism) == AB_BANKING_TANMETHOD_PHOTOTAN &&
|
||
GWEN_Buffer_GetUsedBytes(bufChallenge) == 0) {
|
||
/* if photoTAN is selected but there is no challenge image switch back to text method */
|
||
AH_TanMechanism_free(tanMechanism);
|
||
tanMechanism=AH_TanMechanism_Factory(tanMethodDescription, AB_BANKING_TANMETHOD_TEXT);
|
||
}
|
||
rv=AH_TanMechanism_GetTan(tanMechanism,
|
||
u,
|
||
I18N("TAN Entry"),
|