fix checks
This commit is contained in:
parent
0846ab93bc
commit
5224f79591
@ -617,7 +617,7 @@ run (void *cls,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( (GNUNET_YES == incoming_history) &&
|
if ( (GNUNET_YES == incoming_history) &&
|
||||||
(GNUNET_YES == incoming_history) )
|
(GNUNET_YES == outgoing_history) )
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"Please specify only -i or -o, but not both.\n");
|
"Please specify only -i or -o, but not both.\n");
|
||||||
|
@ -65,7 +65,7 @@ get_and_check_master_key (const struct GNUNET_CONFIGURATION_Handle *cfg,
|
|||||||
ret = GNUNET_CRYPTO_eddsa_key_from_file (fn,
|
ret = GNUNET_CRYPTO_eddsa_key_from_file (fn,
|
||||||
GNUNET_YES,
|
GNUNET_YES,
|
||||||
&master_priv->eddsa_priv);
|
&master_priv->eddsa_priv);
|
||||||
if (GNUNET_SYSERR == ret)
|
if (GNUNET_OK != ret)
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"Failed to initialize master key from file `%s': %s\n",
|
"Failed to initialize master key from file `%s': %s\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user