gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: memcmp() -> GNUNET_


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: memcmp() -> GNUNET_memcmp()
Date: Tue, 15 Oct 2019 20:00:01 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 1d7441f  memcmp() -> GNUNET_memcmp()
1d7441f is described below

commit 1d7441fb137a2bce385c81d411e8ef38a509aca8
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Oct 15 19:59:43 2019 +0200

    memcmp() -> GNUNET_memcmp()
---
 src/backend/taler-merchant-httpd_pay.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_pay.c 
b/src/backend/taler-merchant-httpd_pay.c
index 300ab9e..569b71d 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -1406,9 +1406,8 @@ parse_pay (struct MHD_Connection *connection,
   session_id = json_string_value (json_object_get (root,
                                                    "session_id"));
 
-  if (0 != memcmp (&merchant_pub,
-                   &pc->mi->pubkey,
-                   sizeof (struct GNUNET_CRYPTO_EddsaPublicKey)))
+  if (0 != GNUNET_memcmp (&merchant_pub,
+                          &pc->mi->pubkey))
   {
     TALER_LOG_INFO ("Unknown merchant public key included in payment (usually 
wrong instance chosen)\n");
     TMH_RESPONSE_reply_rc (connection,

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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