diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-09 17:26:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-09 17:26:02 +0100 |
commit | f5e49d926ad1dddcfc87b5fb6671a1934aef7b3c (patch) | |
tree | 191f36ec6395dd8f5b580591423a1e2c1b89ba89 /src/util/test_hash_context.c | |
parent | 09ecea9ea3f51a54693cb9faa1fc2b7993b2d4ba (diff) |
moving TALER_hash_context API to GNUnet, using slightly cleaner API as well
Diffstat (limited to 'src/util/test_hash_context.c')
-rw-r--r-- | src/util/test_hash_context.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |