if (!raw)
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"No private zone key file name specified in configuration!\n");
- shorten_key = NULL;
+ private_key = NULL;
}
else
{
return;
}
- if (NULL != shorten_name)
+ if ((NULL != shorten_name) && (NULL != shorten_zone) && (NULL != private_zone))
{
shorten_request = GNUNET_GNS_shorten_zone (gns, shorten_name,
private_zone,
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Please specify lookup, shorten or authority operation!\n");
GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);
+ return;
}
shutdown_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,