diff options
author | ng0 <ng0@n0.is> | 2019-04-17 18:13:14 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-17 18:13:14 +0000 |
commit | c1d6806b5746b5d0668e640d90531b147c1774b1 (patch) | |
tree | 25a9fc99f303c93f39038ef490b6444cd28d8bd5 /src | |
parent | a02af1f5058fbb128cb73e550bbb7a69fbe6e21e (diff) |
Refactor for GNUNET_memcmp
Diffstat (limited to 'src')
-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", |