Refactor for GNUNET_memcmp
This commit is contained in:
parent
28123fd1fc
commit
ee9cff3555
@ -467,9 +467,8 @@ TEH_DEPOSIT_handler_deposit (struct TEH_RequestHandler *rh,
|
|||||||
TALER_EC_DEPOSIT_INVALID_WIRE_FORMAT_JSON,
|
TALER_EC_DEPOSIT_INVALID_WIRE_FORMAT_JSON,
|
||||||
"wire");
|
"wire");
|
||||||
}
|
}
|
||||||
if (0 != memcmp (&deposit.h_wire,
|
if (0 != GNUNET_memcmp (&deposit.h_wire,
|
||||||
&my_h_wire,
|
&my_h_wire))
|
||||||
sizeof (struct GNUNET_HashCode)))
|
|
||||||
{
|
{
|
||||||
/* Client hashed contract differently than we did, reject */
|
/* Client hashed contract differently than we did, reject */
|
||||||
GNUNET_JSON_parse_free (spec);
|
GNUNET_JSON_parse_free (spec);
|
||||||
|
Loading…
Reference in New Issue
Block a user