From d06dac625072cad6888c9d0a77f6bd19faa5f2d9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 2 Mar 2017 06:34:53 +0100 Subject: implement #4851 (refuse to run without wire plugin) --- src/exchange/taler-exchange-httpd_validation.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/exchange') diff --git a/src/exchange/taler-exchange-httpd_validation.c b/src/exchange/taler-exchange-httpd_validation.c index f5221feb7..541173f2a 100644 --- a/src/exchange/taler-exchange-httpd_validation.c +++ b/src/exchange/taler-exchange-httpd_validation.c @@ -114,6 +114,13 @@ TEH_VALIDATION_init (const struct GNUNET_CONFIGURATION_Handle *cfg) p); } GNUNET_free (wireformats); + if (NULL == wire_head) + { + GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, + "exchange", + "wireformat"); + return GNUNET_SYSERR; + } return GNUNET_OK; } -- cgit v1.2.3