commit 0bf069d6d84f99bbc277a6453bdae4823473a5b2
parent 4b60d2540f48e2b9bfd17898dcdac2705603fde3
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 12 Apr 2020 15:18:11 +0200
key exists is fine
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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",