summaryrefslogtreecommitdiff
path: root/src/exchange-tools/key-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange-tools/key-helper.c')
-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 f711a1c2..0e3c0a2b 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_SYSERR == ret)
+ if (GNUNET_OK != ret)
{
fprintf (stderr,
"Failed to initialize master key from file `%s': %s\n",