gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix previous fix: not creating a


From: gnunet
Subject: [taler-exchange] branch master updated: fix previous fix: not creating a new one is OK
Date: Sat, 29 Aug 2020 11:30:41 +0200

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 3bba677f fix previous fix: not creating a new one is OK
3bba677f is described below

commit 3bba677f64254458ad6beed1b018abe2d3e0a3c3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Aug 29 11:30:33 2020 +0200

    fix previous fix: not creating a new one is OK
---
 src/exchange-tools/key-helper.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/exchange-tools/key-helper.c b/src/exchange-tools/key-helper.c
index 0e3c0a2b..13af9f72 100644
--- a/src/exchange-tools/key-helper.c
+++ b/src/exchange-tools/key-helper.c
@@ -65,14 +65,12 @@ get_and_check_master_key (const struct 
GNUNET_CONFIGURATION_Handle *cfg,
     ret = GNUNET_CRYPTO_eddsa_key_from_file (fn,
                                              GNUNET_YES,
                                              &master_priv->eddsa_priv);
-    if (GNUNET_OK != ret)
+    if (GNUNET_SYSERR == ret)
     {
       fprintf (stderr,
                "Failed to initialize master key from file `%s': %s\n",
                fn,
-               (GNUNET_NO == ret)
-               ? "file exists"
-               : "could not create file");
+               "could not create file");
       GNUNET_free (fn);
       return GNUNET_SYSERR;
     }

-- 
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]