summaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-06-26 23:35:39 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-06-26 23:35:39 +0200
commit9a69fd81ed1eb5de13509f565947f01de8bdf38c (patch)
tree2d1bb22e401dfd277fdb7b930b767597863b9763 /src/json
parent87649e856a041414cb63c2a2f02a76ca1c6e482d (diff)
downloadexchange-9a69fd81ed1eb5de13509f565947f01de8bdf38c.tar.gz
exchange-9a69fd81ed1eb5de13509f565947f01de8bdf38c.tar.bz2
exchange-9a69fd81ed1eb5de13509f565947f01de8bdf38c.zip
use GNUNET_memcmp
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json_wire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/json_wire.c b/src/json/json_wire.c
index 7a4b4a5d..0ce4aa8b 100644
--- a/src/json/json_wire.c
+++ b/src/json/json_wire.c
@@ -113,7 +113,7 @@ TALER_JSON_exchange_wire_signature_check (const json_t *wire_s,
GNUNET_JSON_spec_end ()
};
- if (0 != memcmp (&master_pub_from_wire, master_pub))
+ if (0 != GNUNET_memcmp (&master_pub_from_wire, master_pub))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"wire signature has an unexpected master public key\n");