diff options
Diffstat (limited to 'src/merchant/taler_merchant_serve.c')
-rw-r--r-- | src/merchant/taler_merchant_serve.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/merchant/taler_merchant_serve.c b/src/merchant/taler_merchant_serve.c index 67738886..b025052c 100644 --- a/src/merchant/taler_merchant_serve.c +++ b/src/merchant/taler_merchant_serve.c | |||
@@ -454,16 +454,16 @@ process_post_json (struct MHD_Connection *connection, | |||
454 | static struct GNUNET_HashCode | 454 | static struct GNUNET_HashCode |
455 | hash_wireformat (uint64_t nounce) | 455 | hash_wireformat (uint64_t nounce) |
456 | { | 456 | { |
457 | struct TALER_HashContext hc; | 457 | struct GNUNET_HashContext *hc; |
458 | struct GNUNET_HashCode hash; | 458 | struct GNUNET_HashCode hash; |
459 | 459 | ||
460 | TALER_hash_context_start (&hc); | 460 | hc = GNUNET_CRYPTO_hash_context_start (); |
461 | TALER_hash_context_read (&hc, wire->iban, strlen (wire->iban)); | 461 | GNUNET_CRYPTO_hash_context_read (hc, wire->iban, strlen (wire->iban)); |
462 | TALER_hash_context_read (&hc, wire->name, strlen (wire->name)); | 462 | GNUNET_CRYPTO_hash_context_read (hc, wire->name, strlen (wire->name)); |
463 | TALER_hash_context_read (&hc, wire->bic, strlen (wire->bic)); | 463 | GNUNET_CRYPTO_hash_context_read (hc, wire->bic, strlen (wire->bic)); |
464 | nounce = GNUNET_htonll (nounce); | 464 | nounce = GNUNET_htonll (nounce); |
465 | TALER_hash_context_read (&hc, &nounce, sizeof (nounce)); | 465 | GNUNET_CRYPTO_hash_context_read (hc, &nounce, sizeof (nounce)); |
466 | TALER_hash_context_finish (&hc, &hash); | 466 | GNUNET_CRYPTO_hash_context_finish (hc, &hash); |
467 | return hash; | 467 | return hash; |
468 | } | 468 | } |
469 | 469 | ||