This commit is contained in:
Christian Grothoff 2019-04-18 17:28:15 +02:00
parent 32a3a0ffb0
commit d82068a121
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -708,9 +708,8 @@ update_auditors (struct TALER_EXCHANGE_Handle *exchange)
NULL != a; NULL != a;
a = a->next) a = a->next)
{ {
if (0 == memcmp (&auditor->auditor_pub, if (0 == GNUNET_memcmp (&auditor->auditor_pub,
&a->auditor_pub, &a->auditor_pub))
sizeof (struct TALER_AuditorPublicKeyP)))
{ {
ale = a; ale = a;
break; break;
@ -766,13 +765,13 @@ TALER_denoms_cmp (struct TALER_EXCHANGE_DenomPublicKey *denom1,
if (0 != GNUNET_memcmp (denom1, if (0 != GNUNET_memcmp (denom1,
denom2)) denom2))
{ {
denom1->key.rsa_public_key = tmp1; denom1->key.rsa_public_key = tmp1;
denom2->key.rsa_public_key = tmp2; denom2->key.rsa_public_key = tmp2;
return 1; return 1;
} }
denom1->key.rsa_public_key = tmp1; denom1->key.rsa_public_key = tmp1;
denom2->key.rsa_public_key = tmp2; denom2->key.rsa_public_key = tmp2;
return 0; return 0;
@ -1843,7 +1842,7 @@ request_keys (void *cls)
"last_issue_date=%llu&", "last_issue_date=%llu&",
(unsigned long long) exchange->key_data.last_denom_issue_date.abs_value_us / 1000000LLU); (unsigned long long) exchange->key_data.last_denom_issue_date.abs_value_us / 1000000LLU);
} }
if (GNUNET_YES == exchange->with_now) if (GNUNET_YES == exchange->with_now)
{ {
TALER_LOG_DEBUG ("Faking now to GET /keys: %s\n", TALER_LOG_DEBUG ("Faking now to GET /keys: %s\n",