use GNUNET_memcmp

This commit is contained in:
Florian Dold 2019-06-26 23:35:39 +02:00
parent 87649e856a
commit 9a69fd81ed
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -113,7 +113,7 @@ TALER_JSON_exchange_wire_signature_check (const json_t *wire_s,
GNUNET_JSON_spec_end () 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, GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"wire signature has an unexpected master public key\n"); "wire signature has an unexpected master public key\n");