aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-20 15:52:27 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-20 15:52:27 +0100
commit6f69bc424ab330c03904e5317973a2e6748db8e0 (patch)
tree601a140024e61d09dc31e5dbb622073b13e7364b /src/util
parent7877c24ef2e1a53cdfb182b94a35836b05701f4d (diff)
fix GNUNET_DISK_fn_write() rval check to match latest GNUnet API
Diffstat (limited to 'src/util')
-rw-r--r--src/util/taler-helper-crypto-eddsa.c2
-rw-r--r--src/util/taler-helper-crypto-rsa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/taler-helper-crypto-eddsa.c b/src/util/taler-helper-crypto-eddsa.c
index 71a34fa2f..ad1a783ee 100644
--- a/src/util/taler-helper-crypto-eddsa.c
+++ b/src/util/taler-helper-crypto-eddsa.c
@@ -689,7 +689,7 @@ setup_key (struct Key *key,
keydir,
(unsigned long long) (key->anchor.abs_value_us
/ GNUNET_TIME_UNIT_SECONDS.rel_value_us));
- if (sizeof (priv) !=
+ if (GNUNET_OK !=
GNUNET_DISK_fn_write (key->filename,
&priv,
sizeof (priv),
diff --git a/src/util/taler-helper-crypto-rsa.c b/src/util/taler-helper-crypto-rsa.c
index 32f0b44dd..53d5c2c7c 100644
--- a/src/util/taler-helper-crypto-rsa.c
+++ b/src/util/taler-helper-crypto-rsa.c
@@ -836,7 +836,7 @@ setup_key (struct DenominationKey *dk,
denom->section,
(unsigned long long) (dk->anchor.abs_value_us
/ GNUNET_TIME_UNIT_SECONDS.rel_value_us));
- if (buf_size !=
+ if (GNUNET_OK !=
GNUNET_DISK_fn_write (dk->filename,
buf,
buf_size,