From 9a69fd81ed1eb5de13509f565947f01de8bdf38c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 26 Jun 2019 23:35:39 +0200 Subject: [PATCH] use GNUNET_memcmp --- src/json/json_wire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json/json_wire.c b/src/json/json_wire.c index 7a4b4a5d9..0ce4aa8b2 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");