diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-20 15:52:27 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-20 15:52:27 +0100 |
commit | 6f69bc424ab330c03904e5317973a2e6748db8e0 (patch) | |
tree | 601a140024e61d09dc31e5dbb622073b13e7364b | |
parent | 7877c24ef2e1a53cdfb182b94a35836b05701f4d (diff) |
fix GNUNET_DISK_fn_write() rval check to match latest GNUnet API
4 files changed, 2 insertions, 12 deletions
diff --git a/src/testing/test_exchange_api_keys_cherry_picking_extended.conf b/src/testing/test_exchange_api_keys_cherry_picking_extended.conf deleted file mode 100644 index c49f1edd4..000000000 --- a/src/testing/test_exchange_api_keys_cherry_picking_extended.conf +++ /dev/null @@ -1,5 +0,0 @@ -@INLINE@ test_exchange_api_keys_cherry_picking.conf - -[exchange] -# Lengthen over original value (60 s) -LOOKAHEAD_SIGN = 90 s diff --git a/src/testing/test_exchange_api_keys_cherry_picking_extended_2.conf b/src/testing/test_exchange_api_keys_cherry_picking_extended_2.conf deleted file mode 100644 index 9ba5c6181..000000000 --- a/src/testing/test_exchange_api_keys_cherry_picking_extended_2.conf +++ /dev/null @@ -1,5 +0,0 @@ -@INLINE@ test_exchange_api_keys_cherry_picking_extended.conf - -[exchange] -# Lengthen over firstly extended value (90 s) -LOOKAHEAD_SIGN = 3000 s 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, |