aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd_keystate.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c
index 6cef785c4..901ab6fa6 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -720,9 +720,8 @@ reload_keys_denom_iter (void *cls,
alias);
return GNUNET_OK;
}
- if (0 != memcmp (&dki->issue.properties.master,
- &TEH_master_public_key,
- sizeof (struct TALER_MasterPublicKeyP)))
+ if (0 != GNUNET_memcmp (&dki->issue.properties.master,
+ &TEH_master_public_key))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Master key in denomination key file `%s' does not match! Skipping it.\n",
@@ -903,9 +902,8 @@ reload_keys_sign_iter (void *cls,
return GNUNET_OK;
}
- if (0 != memcmp (&ski->issue.master_public_key,
- &TEH_master_public_key,
- sizeof (struct TALER_MasterPublicKeyP)))
+ if (0 != GNUNET_memcmp (&ski->issue.master_public_key,
+ &TEH_master_public_key))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Master key in signing key file `%s' does not match! Skipping it.\n",