From f5e49d926ad1dddcfc87b5fb6671a1934aef7b3c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 9 Jan 2015 17:26:02 +0100 Subject: moving TALER_hash_context API to GNUnet, using slightly cleaner API as well --- src/util/test_hash_context.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/util/test_hash_context.c') diff --git a/src/util/test_hash_context.c b/src/util/test_hash_context.c index e5110f212..4b94e7ffa 100644 --- a/src/util/test_hash_context.c +++ b/src/util/test_hash_context.c @@ -31,13 +31,13 @@ int main() char data[1234]; struct GNUNET_HashCode hc1; struct GNUNET_HashCode hc2; - struct TALER_HashContext hctx; + struct GNUNET_HashContext hctx; memset (data, 42, LEN); - TALER_hash_context_start (&hctx); - TALER_hash_context_read (&hctx, data, LEN); - TALER_hash_context_finish (&hctx, &hc1); + GNUNET_CRYPTO_hash_context_start (&hctx); + GNUNET_CRYPTO_hash_context_read (&hctx, data, LEN); + GNUNET_CRYPTO_hash_context_finish (&hctx, &hc1); GNUNET_CRYPTO_hash (data, LEN, &hc2); -- cgit v1.2.3