diff options
Diffstat (limited to 'src/exchange-tools/taler-exchange-keycheck.c')
-rw-r--r-- | src/exchange-tools/taler-exchange-keycheck.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchange-tools/taler-exchange-keycheck.c b/src/exchange-tools/taler-exchange-keycheck.c index d58237738..c657454af 100644 --- a/src/exchange-tools/taler-exchange-keycheck.c +++ b/src/exchange-tools/taler-exchange-keycheck.c @@ -163,9 +163,8 @@ denomkeys_iter (void *cls, } GNUNET_CRYPTO_rsa_public_key_hash (dki->denom_pub.rsa_public_key, &hc); - if (0 != memcmp (&hc, - &dki->issue.properties.denom_hash, - sizeof (struct GNUNET_HashCode))) + if (0 != GNUNET_memcmp (&hc, + &dki->issue.properties.denom_hash)) { fprintf (stderr, "Public key for `%s' does not match signature\n", |