aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
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,