diff options
author | ng0 <ng0@n0.is> | 2019-04-08 18:58:08 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-08 18:58:08 +0000 |
commit | 04acf37cb643faff487668805590a12a0fb4dda1 (patch) | |
tree | 54dec850276465253f65e8e2179cf32917b484ba /src/exchangedb/test_exchangedb_signkeys.c | |
parent | 1aa9d9fee6d73d2edcc4b95ecb184e98dcc81b1d (diff) |
Refactor test_exchangedb_signkeys for GNUNET_memcmp
Diffstat (limited to 'src/exchangedb/test_exchangedb_signkeys.c')
-rw-r--r-- | src/exchangedb/test_exchangedb_signkeys.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchangedb/test_exchangedb_signkeys.c b/src/exchangedb/test_exchangedb_signkeys.c index 2ab38c661..9ff423082 100644 --- a/src/exchangedb/test_exchangedb_signkeys.c +++ b/src/exchangedb/test_exchangedb_signkeys.c @@ -47,9 +47,8 @@ ski_iter (void *cls, { const struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP *exp = cls; - if (0 != memcmp (ski, - exp, - sizeof (struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP))) + if (0 != GNUNET_memcmp (ski, + exp)) { GNUNET_break (0); return GNUNET_SYSERR; |