commit 1184d044c19d7c57c9fdfd88aff506dc747888e5
parent 9f5286a2efcfbcbd44941b518af224992900fd2c
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Jul 2026 13:08:14 +0200
testing: return after interpreter_fail, add missing break in secret_share
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/testing/testing_cmd_secret_share.c b/src/testing/testing_cmd_secret_share.c
@@ -136,6 +136,7 @@ secret_share_result_cb (struct SecretShareState *sss,
if (sr->ss != sss->want_status)
{
TALER_TESTING_interpreter_fail (sss->is);
+ return;
}
switch (sr->ss)
{
@@ -162,6 +163,7 @@ secret_share_result_cb (struct SecretShareState *sss,
"Order ID from Anastasis service is `%s'\n",
sss->payment_order_id);
}
+ break;
case ANASTASIS_SHARE_STATUS_PROVIDER_FAILED:
break;
}