Project

General

Profile

aqbanking-5.99.39beta.diff

pkzw, 10/07/2019 09:06 PM

Download (932 Bytes)

View differences:

src/libs/plugins/backends/aqhbci/banking/provider_tan.c
81 81
    return rv;
82 82
  }
83 83

  
84
  /* Workaround for BNP Paribas/Consorsbank */
85
  if (AH_TanMechanism_GetTanMethodId(tanMechanism) == AB_BANKING_TANMETHOD_PHOTOTAN &&
86
      GWEN_Buffer_GetUsedBytes(bufChallenge)       == 0) {
87
    /* if photoTAN is selected but there is no challenge image switch back to text method */
88
    AH_TanMechanism_free(tanMechanism);
89
    tanMechanism=AH_TanMechanism_Factory(tanMethodDescription, AB_BANKING_TANMETHOD_TEXT);
90
  }
91

  
84 92
  rv=AH_TanMechanism_GetTan(tanMechanism,
85 93
                            u,
86 94
                            I18N("TAN Entry"),