Refactor lib/exchange_api_common.c for GNUNET_memcmp
This commit is contained in:
parent
b669f0dfae
commit
8c591b4f1a
@ -342,9 +342,8 @@ TALER_EXCHANGE_get_exchange_signing_key_info (const struct TALER_EXCHANGE_Keys *
|
||||
const struct TALER_EXCHANGE_SigningPublicKey *spk;
|
||||
|
||||
spk = &keys->sign_keys[i];
|
||||
if (0 == memcmp (exchange_pub,
|
||||
&spk->key,
|
||||
sizeof (struct TALER_ExchangePublicKeyP)))
|
||||
if (0 == GNUNET_memcmp (exchange_pub,
|
||||
&spk->key))
|
||||
return spk;
|
||||
}
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user