[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated (af983045 -> e7a9a291)
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated (af983045 -> e7a9a291) |
Date: |
Fri, 30 Jul 2021 18:02:57 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a change to branch master
in repository exchange.
from af983045 REVOCATION_DIR is long obsolete, KEYDIR was renamed to
KEY_DIR and is in another section
new 12e7f405 persist master.priv in git
new e7a9a291 -add logic to purge SECM_TOFU_FILE when purging secmod
KEY_DIRS
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../share/taler/exchange-offline}/master.priv | 0
src/testing/testing_api_helpers_exchange.c | 23 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
copy
src/{benchmark/exchange_benchmark_home/.local/share/taler/exchange/offline-keys
=>
testing/test_exchange_api_home/.local/share/taler/exchange-offline}/master.priv
(100%)
diff --git
a/src/benchmark/exchange_benchmark_home/.local/share/taler/exchange/offline-keys/master.priv
b/src/testing/test_exchange_api_home/.local/share/taler/exchange-offline/master.priv
similarity index 100%
copy from
src/benchmark/exchange_benchmark_home/.local/share/taler/exchange/offline-keys/master.priv
copy to
src/testing/test_exchange_api_home/.local/share/taler/exchange-offline/master.priv
diff --git a/src/testing/testing_api_helpers_exchange.c
b/src/testing/testing_api_helpers_exchange.c
index bc301d77..8a4d71c5 100644
--- a/src/testing/testing_api_helpers_exchange.c
+++ b/src/testing/testing_api_helpers_exchange.c
@@ -78,6 +78,29 @@ int
TALER_TESTING_cleanup_files_cfg (void *cls,
const struct GNUNET_CONFIGURATION_Handle *cfg)
{
+ char *dir;
+
+ if (GNUNET_OK !=
+ GNUNET_CONFIGURATION_get_value_filename (cfg,
+ "exchange-offline",
+ "SECM_TOFU_FILE",
+ &dir))
+ {
+ GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
+ "exchange-offline",
+ "SECM_TOFU_FILE");
+ return GNUNET_SYSERR;
+ }
+ if ( (0 != unlink (dir)) &&
+ (ENOENT != errno) )
+ {
+ GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR,
+ "unlink",
+ dir);
+ GNUNET_free (dir);
+ return GNUNET_SYSERR;
+ }
+ GNUNET_free (dir);
if (GNUNET_OK !=
remove_dir (cfg,
"taler-exchange-secmod-eddsa",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] branch master updated (af983045 -> e7a9a291),
gnunet <=