diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/exchange_api_common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c index 6b0aa6ff6..a9c6e16cf 100644 --- a/src/lib/exchange_api_common.c +++ b/src/lib/exchange_api_common.c @@ -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; |