[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: init btoken
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: init btoken |
Date: |
Wed, 06 Sep 2023 10:03:55 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 68bc1dd8 init btoken
68bc1dd8 is described below
commit 68bc1dd88a4de48736c289e0ed5871f4cb72a908
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Wed Sep 6 10:03:45 2023 +0200
init btoken
---
src/backend/taler-merchant-httpd_private-post-instances-ID-token.c | 3 +++
1 file changed, 3 insertions(+)
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
index 74de6563..28a521a4 100644
--- 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"))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: init btoken,
gnunet <=