aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-04-17 18:13:14 +0000
committerng0 <ng0@n0.is>2019-04-17 18:13:14 +0000
commitc1d6806b5746b5d0668e640d90531b147c1774b1 (patch)
tree25a9fc99f303c93f39038ef490b6444cd28d8bd5 /src
parenta02af1f5058fbb128cb73e550bbb7a69fbe6e21e (diff)
Refactor for GNUNET_memcmp
Diffstat (limited to 'src')
-rw-r--r--src/exchange-tools/taler-exchange-keycheck.c5
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",