diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-02 06:34:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-02 06:34:53 +0100 |
commit | d06dac625072cad6888c9d0a77f6bd19faa5f2d9 (patch) | |
tree | c9ae769f2830d52e474aa1f56f46948ea0505317 /src | |
parent | 397c718809f2f53f3e0714ea6433083ea7379124 (diff) | |
download | exchange-d06dac625072cad6888c9d0a77f6bd19faa5f2d9.tar.xz |
implement #4851 (refuse to run without wire plugin)
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_validation.c | 7 |
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; } |