summaryrefslogtreecommitdiff
path: root/src/util/test_crypto_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_crypto_hash.c')
-rw-r--r--src/util/test_crypto_hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_crypto_hash.c b/src/util/test_crypto_hash.c
index 52e24718d..e08348e53 100644
--- a/src/util/test_crypto_hash.c
+++ b/src/util/test_crypto_hash.c
@@ -130,12 +130,12 @@ testFileHash ()
memset (block, 42, sizeof (block) / 2);
memset (&block[sizeof (block) / 2], 43, sizeof (block) / 2);
- GNUNET_assert (NULL != (f = FOPEN (FILENAME, "w+")));
+ GNUNET_assert (NULL != (f = fopen (FILENAME, "w+")));
GNUNET_break (sizeof (block) == fwrite (block, 1, sizeof (block), f));
- GNUNET_break (0 == FCLOSE (f));
+ GNUNET_break (0 == fclose (f));
ret = 1;
GNUNET_SCHEDULER_run (&file_hasher, &ret);
- GNUNET_break (0 == UNLINK (FILENAME));
+ GNUNET_break (0 == unlink (FILENAME));
return ret;
}