gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix paths issue


From: gnunet
Subject: [taler-exchange] branch master updated: -fix paths issue
Date: Sun, 21 Nov 2021 13:37:25 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 7b50c7c0 -fix paths issue
7b50c7c0 is described below

commit 7b50c7c0122ec39c6dca64df5709f04210c3722a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Nov 21 13:37:23 2021 +0100

    -fix paths issue
---
 src/util/test_helper_eddsa.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/util/test_helper_eddsa.c b/src/util/test_helper_eddsa.c
index b01ecf77..97800e2c 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;
   }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]