fixing #4461
This commit is contained in:
parent
6b1f4904ef
commit
6040adab4f
@ -216,6 +216,10 @@ main (int argc,
|
|||||||
"Auditor URL not given\n");
|
"Auditor URL not given\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
if (GNUNET_YES != GNUNET_DISK_file_test (auditor_key_file))
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
|
"Auditor private key `%s' does not exist yet, creating it!\n",
|
||||||
|
auditor_key_file);
|
||||||
eddsa_priv = GNUNET_CRYPTO_eddsa_key_create_from_file (auditor_key_file);
|
eddsa_priv = GNUNET_CRYPTO_eddsa_key_create_from_file (auditor_key_file);
|
||||||
if (NULL == eddsa_priv)
|
if (NULL == eddsa_priv)
|
||||||
{
|
{
|
||||||
|
@ -950,6 +950,10 @@ run (void *cls,
|
|||||||
global_ret = 1;
|
global_ret = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (GNUNET_YES != GNUNET_DISK_file_test (masterkeyfile))
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
|
"Exchange master private key `%s' does not exist yet, creating it!\n",
|
||||||
|
masterkeyfile);
|
||||||
eddsa_priv = GNUNET_CRYPTO_eddsa_key_create_from_file (masterkeyfile);
|
eddsa_priv = GNUNET_CRYPTO_eddsa_key_create_from_file (masterkeyfile);
|
||||||
if (NULL == eddsa_priv)
|
if (NULL == eddsa_priv)
|
||||||
{
|
{
|
||||||
|
@ -88,6 +88,10 @@ run (void *cls,
|
|||||||
global_ret = 1;
|
global_ret = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (GNUNET_YES != GNUNET_DISK_file_test (masterkeyfile))
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
|
"Exchange master private key `%s' does not exist yet, creating it!\n",
|
||||||
|
masterkeyfile);
|
||||||
eddsa_priv = GNUNET_CRYPTO_eddsa_key_create_from_file (masterkeyfile);
|
eddsa_priv = GNUNET_CRYPTO_eddsa_key_create_from_file (masterkeyfile);
|
||||||
if (NULL == eddsa_priv)
|
if (NULL == eddsa_priv)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user