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

This commit is contained in:
Florian Dold 2019-08-31 21:18:55 +02:00
parent 000d25c719
commit 34652f45f3
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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,