[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: mkdir on tofu file
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: mkdir on tofu file |
Date: |
Fri, 15 Jan 2021 15:28: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 aab39b3d mkdir on tofu file
aab39b3d is described below
commit aab39b3dc97a23bc01b0007b5ac7946d7e2f127b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jan 15 15:28:23 2021 +0100
mkdir on tofu file
---
src/exchange-tools/taler-exchange-offline.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/exchange-tools/taler-exchange-offline.c
b/src/exchange-tools/taler-exchange-offline.c
index 83d9e63c..59e0b0a4 100644
--- a/src/exchange-tools/taler-exchange-offline.c
+++ b/src/exchange-tools/taler-exchange-offline.c
@@ -2429,6 +2429,15 @@ tofu_check (const struct TALER_SecurityModulePublicKeyP
secm[2])
}
}
}
+ if (GNUNET_OK !=
+ GNUNET_DISK_directory_create_for_file (fn))
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Failed create directory to store key material in file `%s'\n",
+ fn);
+ GNUNET_free (fn);
+ return GNUNET_SYSERR;
+ }
/* persist keys for future runs */
if (GNUNET_OK !=
GNUNET_DISK_fn_write (fn,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: mkdir on tofu file,
gnunet <=