gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: fix #7499


From: gnunet
Subject: [taler-merchant] branch master updated: fix #7499
Date: Tue, 29 Nov 2022 21:54:43 +0100

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 361833d6 fix #7499
361833d6 is described below

commit 361833d6160c6debd99a962d0bef95993b2f3e55
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Tue Nov 29 10:56:59 2022 +0100

    fix #7499
---
 doc/prebuilt                       |  2 +-
 src/backend/taler-merchant-httpd.c | 14 ++++++--------
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/doc/prebuilt b/doc/prebuilt
index 8452f991..4739f144 160000
--- a/doc/prebuilt
+++ b/doc/prebuilt
@@ -1 +1 @@
-Subproject commit 8452f991dd967328207fab52a99beb19e2cb4dff
+Subproject commit 4739f1447d0e8a6534c7fbdbc361d5d756d1875b
diff --git a/src/backend/taler-merchant-httpd.c 
b/src/backend/taler-merchant-httpd.c
index d16a55ee..6dd48ea1 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -1845,14 +1845,12 @@ run (void *cls,
                       RFC_8959_PREFIX,
                       strlen (RFC_8959_PREFIX))) )
   {
-    char *tmp;
-
-    GNUNET_asprintf (&tmp,
-                     "%s%s",
-                     RFC_8959_PREFIX,
-                     TMH_default_auth);
-    GNUNET_free (TMH_default_auth);
-    TMH_default_auth = tmp;
+    fprintf (stderr,
+             "Authentication token does not start with `%s' prefix\n",
+             RFC_8959_PREFIX);
+    result = GNUNET_SYSERR;
+    GNUNET_SCHEDULER_shutdown ();
+    return;
   }
   cfg = config;
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]