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/include/taler_signatures.h | 2 +- src/include/taler_util.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 34d13380..6293a257 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -1677,7 +1677,7 @@ struct TALER_ReserveCloseConfirmationPS /** * Hash of the receiver's bank account. */ - struct TALER_PaytoHash h_wire; + struct TALER_PaytoHash h_payto; /** * Wire transfer subject. diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 4faa75c4..d62882b4 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -327,6 +327,17 @@ char * TALER_payto_get_method (const char *payto_uri); +/** + * Compute the hash of a payto URI. + * + * @param payto URI to hash + * @param[out] h_payto where to write the hash + */ +void +TALER_payto_hash (const char *payto, + struct TALER_PaytoHash *h_payto); + + /** * Obtain the account name from a payto URL. * -- cgit v1.2.3