Refactor test_exchangedb_signkeys for GNUNET_memcmp
This commit is contained in:
parent
1aa9d9fee6
commit
04acf37cb6
@ -47,9 +47,8 @@ ski_iter (void *cls,
|
|||||||
{
|
{
|
||||||
const struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP *exp = cls;
|
const struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP *exp = cls;
|
||||||
|
|
||||||
if (0 != memcmp (ski,
|
if (0 != GNUNET_memcmp (ski,
|
||||||
exp,
|
exp))
|
||||||
sizeof (struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP)))
|
|
||||||
{
|
{
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
|
Loading…
Reference in New Issue
Block a user