merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 68bc1dd88a4de48736c289e0ed5871f4cb72a908
parent e1b7792a233ef94b2d8639ce5333e3f32410424d
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Wed,  6 Sep 2023 10:03:45 +0200

init btoken

Diffstat:
Msrc/backend/taler-merchant-httpd_private-post-instances-ID-token.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-post-instances-ID-token.c b/src/backend/taler-merchant-httpd_private-post-instances-ID-token.c @@ -72,6 +72,9 @@ TMH_private_post_instances_ID_token (const struct TMH_RequestHandler *rh, if (GNUNET_OK != res) return (GNUNET_NO == res) ? MHD_YES : MHD_NO; } + GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_NONCE, + &btoken, + sizeof (btoken)); expiration_time = GNUNET_TIME_relative_to_timestamp (duration); if (0 == strcasecmp (scope, "readonly"))