summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-12 15:18:11 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-12 15:18:11 +0200
commit0bf069d6d84f99bbc277a6453bdae4823473a5b2 (patch)
tree39304fd213ca99aa30ee7f455311adc65d542d3d
parent4b60d2540f48e2b9bfd17898dcdac2705603fde3 (diff)
downloadexchange-0bf069d6d84f99bbc277a6453bdae4823473a5b2.tar.gz
exchange-0bf069d6d84f99bbc277a6453bdae4823473a5b2.tar.bz2
exchange-0bf069d6d84f99bbc277a6453bdae4823473a5b2.zip
key exists is fine
-rw-r--r--src/exchange-tools/key-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange-tools/key-helper.c b/src/exchange-tools/key-helper.c
index 0e3c0a2bb..f711a1c28 100644
--- a/src/exchange-tools/key-helper.c
+++ b/src/exchange-tools/key-helper.c
@@ -65,7 +65,7 @@ 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",