summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/exchange_api_handle.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index d0777dc01..bbe5f45a0 100644
--- 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,