aboutsummaryrefslogtreecommitdiff
path: root/src/util/offline_signatures.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2021-10-25 19:33:43 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-27 09:23:13 +0200
commitb6be9dc0c0f1f20c76f6f63a7679a5c07f868f54 (patch)
treef92d69dcfbebb624bcb79d775ff81c5d225cf1d7 /src/util/offline_signatures.c
parent74234f75a41222f6a630106be75a799f4f02ec1d (diff)
-work on FTBFS
Diffstat (limited to 'src/util/offline_signatures.c')
-rw-r--r--src/util/offline_signatures.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/util/offline_signatures.c b/src/util/offline_signatures.c
index 58617e605..fe502c659 100644
--- a/src/util/offline_signatures.c
+++ b/src/util/offline_signatures.c
@@ -353,8 +353,8 @@ TALER_exchange_offline_wire_add_sign (
GNUNET_assert (GNUNET_OK ==
GNUNET_TIME_round_abs (&now));
- TALER_exchange_wire_signature_hash (payto_uri,
- &kv.h_payto);
+ TALER_payto_hash (payto_uri,
+ &kv.h_payto);
GNUNET_CRYPTO_eddsa_sign (&master_priv->eddsa_priv,
&kv,
&master_sig->eddsa_signature);
@@ -374,8 +374,8 @@ TALER_exchange_offline_wire_add_verify (
.start_date = GNUNET_TIME_absolute_hton (sign_time),
};
- TALER_exchange_wire_signature_hash (payto_uri,
- &aw.h_payto);
+ TALER_payto_hash (payto_uri,
+ &aw.h_payto);
return
GNUNET_CRYPTO_eddsa_verify (
TALER_SIGNATURE_MASTER_ADD_WIRE,
@@ -400,8 +400,8 @@ TALER_exchange_offline_wire_del_sign (
GNUNET_assert (GNUNET_OK ==
GNUNET_TIME_round_abs (&now));
- TALER_exchange_wire_signature_hash (payto_uri,
- &kv.h_payto);
+ TALER_payto_hash (payto_uri,
+ &kv.h_payto);
GNUNET_CRYPTO_eddsa_sign (&master_priv->eddsa_priv,
&kv,
&master_sig->eddsa_signature);
@@ -422,8 +422,8 @@ TALER_exchange_offline_wire_del_verify (
.end_date = GNUNET_TIME_absolute_hton (sign_time),
};
- TALER_exchange_wire_signature_hash (payto_uri,
- &aw.h_payto);
+ TALER_payto_hash (payto_uri,
+ &aw.h_payto);
return GNUNET_CRYPTO_eddsa_verify (
TALER_SIGNATURE_MASTER_DEL_WIRE,
&aw,