diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2021-10-25 17:19:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-27 09:23:13 +0200 |
commit | f7d08e8c2bbd6c5eaa73f339f551683c9d93ebeb (patch) | |
tree | 13b04b5bcfca900f89ecdb1f979e6602ba1f0522 /src/util | |
parent | 58ea04167ca46e7ef82d25900cae731741854279 (diff) |
-work on FTBFS;
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/payto.c | 10 |
1 files changed, 10 insertions, 0 deletions
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); +} |