summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_validation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-02 06:34:53 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-02 06:34:53 +0100
commitd06dac625072cad6888c9d0a77f6bd19faa5f2d9 (patch)
treec9ae769f2830d52e474aa1f56f46948ea0505317 /src/exchange/taler-exchange-httpd_validation.c
parent397c718809f2f53f3e0714ea6433083ea7379124 (diff)
downloadexchange-d06dac625072cad6888c9d0a77f6bd19faa5f2d9.tar.gz
exchange-d06dac625072cad6888c9d0a77f6bd19faa5f2d9.tar.bz2
exchange-d06dac625072cad6888c9d0a77f6bd19faa5f2d9.zip
implement #4851 (refuse to run without wire plugin)
Diffstat (limited to 'src/exchange/taler-exchange-httpd_validation.c')
-rw-r--r--src/exchange/taler-exchange-httpd_validation.c7
1 files changed, 7 insertions, 0 deletions
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;
}