ensure statements are prepared before keys subsystem initialization
This commit is contained in:
parent
e50a5f4d2b
commit
18a68ab789
@ -1 +1 @@
|
||||
Subproject commit 79a1ebfdffab6b01137a4642161e907f89c5c535
|
||||
Subproject commit be874165f95694e52ded88090ac18d682b943f67
|
@ -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 ())
|
||||
{
|
||||
|
@ -1711,7 +1711,8 @@ build_key_state (struct HelperState *hs,
|
||||
ksh);
|
||||
if (qs < 0)
|
||||
{
|
||||
GNUNET_break (0);
|
||||
GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR != qs);
|
||||
GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR != qs);
|
||||
destroy_key_state (ksh,
|
||||
true);
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user