aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-21 13:37:23 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-21 13:37:23 +0100
commit7b50c7c0122ec39c6dca64df5709f04210c3722a (patch)
tree9a7e2421a7e9e75e5c8f1a9d7b64c9e0d5c3d543
parentc88363be203152df118a0b24c688aac19bff3149 (diff)
-fix paths issue
-rw-r--r--src/util/test_helper_eddsa.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/test_helper_eddsa.c b/src/util/test_helper_eddsa.c
index b01ecf77b..97800e2ca 100644
--- a/src/util/test_helper_eddsa.c
+++ b/src/util/test_helper_eddsa.c
@@ -214,7 +214,10 @@ test_revocation (struct TALER_CRYPTO_ExchangeSignHelper *esh)
nanosleep (&req, NULL);
fprintf (stderr, ".");
}
- if (keys[j].revoked)
+ if ( (keys[j].revoked) &&
+ (! GNUNET_TIME_absolute_is_past (
+ GNUNET_TIME_absolute_add (keys[j].start_time,
+ keys[j].validity_duration))) )
{
fprintf (stderr,
"\nFAILED: timeout trying to revoke key %u\n",
@@ -371,6 +374,7 @@ par_signing (struct GNUNET_CONFIGURATION_Handle *cfg)
ret = perf_signing (esh,
"parallel");
TALER_CRYPTO_helper_esign_disconnect (esh);
+ esh = NULL;
exit (ret);
}
}
@@ -440,6 +444,7 @@ run_test (void)
fprintf (stderr,
"\nFAILED: no keys returend by helper\n");
TALER_CRYPTO_helper_esign_disconnect (esh);
+ esh = NULL;
GNUNET_CONFIGURATION_destroy (cfg);
return 1;
}