aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-29 01:24:21 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-29 01:24:21 +0200
commit5224f795916b2e5a12859bb0b2b6a0b6fbcda37f (patch)
treef51aab05ffd045fb337530946cad959cfbaa1562 /src
parent0846ab93bcbe606d34cc547904634244312e137d (diff)
fix checks
Diffstat (limited to 'src')
-rw-r--r--src/bank-lib/taler-wire-gateway-client.c2
-rw-r--r--src/exchange-tools/key-helper.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bank-lib/taler-wire-gateway-client.c b/src/bank-lib/taler-wire-gateway-client.c
index c9e473378..40dbd5bc7 100644
--- a/src/bank-lib/taler-wire-gateway-client.c
+++ b/src/bank-lib/taler-wire-gateway-client.c
@@ -617,7 +617,7 @@ run (void *cls,
}
}
if ( (GNUNET_YES == incoming_history) &&
- (GNUNET_YES == incoming_history) )
+ (GNUNET_YES == outgoing_history) )
{
fprintf (stderr,
"Please specify only -i or -o, but not both.\n");
diff --git a/src/exchange-tools/key-helper.c b/src/exchange-tools/key-helper.c
index f711a1c28..0e3c0a2bb 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",