aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-04-18 17:28:15 +0200
committerChristian Grothoff <christian@grothoff.org>2019-04-18 17:28:15 +0200
commitd82068a1214e7e0ca894e9d7f4dd8b3daaf10ba4 (patch)
tree5448565231f326d7ce6ee1b288061254800b0703 /src/lib
parent32a3a0ffb04487fbd1025cdddbf1ff47d0b2b7b5 (diff)
memcmp
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_handle.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 8dbf2b5d8..cbcde724d 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -708,9 +708,8 @@ update_auditors (struct TALER_EXCHANGE_Handle *exchange)
NULL != a;
a = a->next)
{
- if (0 == memcmp (&auditor->auditor_pub,
- &a->auditor_pub,
- sizeof (struct TALER_AuditorPublicKeyP)))
+ if (0 == GNUNET_memcmp (&auditor->auditor_pub,
+ &a->auditor_pub))
{
ale = a;
break;
@@ -766,13 +765,13 @@ TALER_denoms_cmp (struct TALER_EXCHANGE_DenomPublicKey *denom1,
if (0 != GNUNET_memcmp (denom1,
denom2))
{
- denom1->key.rsa_public_key = tmp1;
+ denom1->key.rsa_public_key = tmp1;
denom2->key.rsa_public_key = tmp2;
return 1;
}
- denom1->key.rsa_public_key = tmp1;
+ denom1->key.rsa_public_key = tmp1;
denom2->key.rsa_public_key = tmp2;
return 0;
@@ -1843,7 +1842,7 @@ request_keys (void *cls)
"last_issue_date=%llu&",
(unsigned long long) exchange->key_data.last_denom_issue_date.abs_value_us / 1000000LLU);
}
-
+
if (GNUNET_YES == exchange->with_now)
{
TALER_LOG_DEBUG ("Faking now to GET /keys: %s\n",