exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 34652f45f3c321044b853df6c452578da94c8739
parent 000d25c7197b4a70740b937452adcd37659b8daf
Author: Florian Dold <florian.dold@gmail.com>
Date:   Sat, 31 Aug 2019 21:18:55 +0200

don't mark auditor as 'up' when version request failed

Diffstat:
Msrc/lib/exchange_api_handle.c | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c @@ -672,6 +672,15 @@ auditor_version_cb { struct TEAH_AuditorListEntry *ale = cls; + if (NULL == vi) + { + /* In this case, we don't mark the auditor as 'up' */ + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + _ ("Auditor `%s' gave unexpected version response.\n"), + ale->auditor_url); + return; + } + if (0 != (TALER_AUDITOR_VC_INCOMPATIBLE & compat)) { GNUNET_log (GNUNET_ERROR_TYPE_WARNING,