From 18a68ab78965be39d6a457675f17d33b3b81c1cb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 25 Aug 2021 11:45:13 +0200 Subject: ensure statements are prepared before keys subsystem initialization --- src/exchange/taler-exchange-httpd.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/exchange/taler-exchange-httpd.c') diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 50aa85f7..af0a4908 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -1419,6 +1419,13 @@ run (void *cls, GNUNET_SCHEDULER_shutdown (); return; } + if (GNUNET_SYSERR == + TEH_plugin->preflight (TEH_plugin->cls)) + { + global_ret = EXIT_FAILURE; + GNUNET_SCHEDULER_shutdown (); + return; + } if (GNUNET_OK != TEH_keys_init ()) { -- cgit v1.2.3