Refactor for GNUNET_memcmp
This commit is contained in:
parent
9f18ec58bc
commit
ffac541333
@ -720,9 +720,8 @@ reload_keys_denom_iter (void *cls,
|
|||||||
alias);
|
alias);
|
||||||
return GNUNET_OK;
|
return GNUNET_OK;
|
||||||
}
|
}
|
||||||
if (0 != memcmp (&dki->issue.properties.master,
|
if (0 != GNUNET_memcmp (&dki->issue.properties.master,
|
||||||
&TEH_master_public_key,
|
&TEH_master_public_key))
|
||||||
sizeof (struct TALER_MasterPublicKeyP)))
|
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Master key in denomination key file `%s' does not match! Skipping it.\n",
|
"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;
|
return GNUNET_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (0 != memcmp (&ski->issue.master_public_key,
|
if (0 != GNUNET_memcmp (&ski->issue.master_public_key,
|
||||||
&TEH_master_public_key,
|
&TEH_master_public_key))
|
||||||
sizeof (struct TALER_MasterPublicKeyP)))
|
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Master key in signing key file `%s' does not match! Skipping it.\n",
|
"Master key in signing key file `%s' does not match! Skipping it.\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user