aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-06-29 15:15:07 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-06-29 15:15:07 +0200
commit124ae0d5a2ed0bde0944a3be75f72b7a02d1d1cf (patch)
treea6abe8c4c6e6a6f747753435bf2011fd8ada5bac /src
parentb9fa9bc48bf6263a01aaf53345f51a6c43cf5a4f (diff)
Fix #5277.
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/testing_api_cmd_exec_auditor-sign.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c b/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c
index 7bbf6d640..e589dbc67 100644
--- a/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c
+++ b/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c
@@ -68,6 +68,7 @@ auditor_sign_run (void *cls,
char *test_home_dir;
char *signed_keys_out;
char *exchange_master_pub;
+ struct GNUNET_TIME_Absolute now;
cfg = GNUNET_CONFIGURATION_create ();
if (GNUNET_OK != GNUNET_CONFIGURATION_load
@@ -93,10 +94,12 @@ auditor_sign_run (void *cls,
return;
}
- GNUNET_asprintf (&signed_keys_out,
- "%s/.local/share/taler/auditors/auditor.out",
- test_home_dir);
-
+ now = GNUNET_TIME_absolute_get ();
+ GNUNET_asprintf
+ (&signed_keys_out,
+ "%s/.local/share/taler/auditors/auditor-%llu.out",
+ test_home_dir,
+ (unsigned long long) now.abs_value_us);
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,