fix warnings

This commit is contained in:
Christian Grothoff 2020-03-27 13:53:26 +01:00
parent e8c8efe5ec
commit 373a5f96a7
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 3 additions and 1 deletions

View File

@ -767,7 +767,7 @@ create_denomkey_issue (
GNUNET_assert (NULL != dki->denom_priv.rsa_private_key);
dki->denom_pub.rsa_public_key
= GNUNET_CRYPTO_rsa_private_key_get_public (
dki->denom_priv.rsa_private_key);
dki->denom_priv.rsa_private_key);
GNUNET_CRYPTO_rsa_public_key_hash (dki->denom_pub.rsa_public_key,
&dki->issue.properties.denom_hash);
dki->issue.properties.master = master_public_key;
@ -1140,6 +1140,7 @@ check_revocation_regeneration (
struct GNUNET_TIME_Absolute now;
struct GNUNET_TIME_Absolute withdraw_end;
(void) alias;
if (0 !=
GNUNET_memcmp (denom_hash,
&dki->issue.properties.denom_hash))

View File

@ -322,6 +322,7 @@ TEH_handler_deposits_get (const struct TEH_RequestHandler *rh,
.purpose.purpose = htonl (TALER_SIGNATURE_MERCHANT_TRACK_TRANSACTION)
};
(void) rh;
if (GNUNET_OK !=
GNUNET_STRINGS_string_to_data (args[0],
strlen (args[0]),