From f7d08e8c2bbd6c5eaa73f339f551683c9d93ebeb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 25 Oct 2021 17:19:41 +0200 Subject: -work on FTBFS; --- src/util/payto.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/util/payto.c') diff --git a/src/util/payto.c b/src/util/payto.c index 58f1bf635..26872f1ee 100644 --- a/src/util/payto.c +++ b/src/util/payto.c @@ -254,3 +254,13 @@ TALER_payto_validate (const char *payto_uri) return NULL; } + + +void +TALER_payto_hash (const char *payto, + struct TALER_PaytoHash *h_payto) +{ + GNUNET_CRYPTO_hash (payto, + strlen (payto) + 1, + &h_payto->hash); +} -- cgit v1.2.3