-fix paths issue

This commit is contained in:
Christian Grothoff 2021-11-21 13:37:23 +01:00
parent c88363be20
commit 7b50c7c012
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -214,7 +214,10 @@ test_revocation (struct TALER_CRYPTO_ExchangeSignHelper *esh)
nanosleep (&req, NULL); nanosleep (&req, NULL);
fprintf (stderr, "."); 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, fprintf (stderr,
"\nFAILED: timeout trying to revoke key %u\n", "\nFAILED: timeout trying to revoke key %u\n",
@ -371,6 +374,7 @@ par_signing (struct GNUNET_CONFIGURATION_Handle *cfg)
ret = perf_signing (esh, ret = perf_signing (esh,
"parallel"); "parallel");
TALER_CRYPTO_helper_esign_disconnect (esh); TALER_CRYPTO_helper_esign_disconnect (esh);
esh = NULL;
exit (ret); exit (ret);
} }
} }
@ -440,6 +444,7 @@ run_test (void)
fprintf (stderr, fprintf (stderr,
"\nFAILED: no keys returend by helper\n"); "\nFAILED: no keys returend by helper\n");
TALER_CRYPTO_helper_esign_disconnect (esh); TALER_CRYPTO_helper_esign_disconnect (esh);
esh = NULL;
GNUNET_CONFIGURATION_destroy (cfg); GNUNET_CONFIGURATION_destroy (cfg);
return 1; return 1;
} }