{
if (argv[index][0] != '-')
{
- context->output_file = _strdup(argv[index]);
- if (!context->output_file)
- return -1;
- }
+ context->output_file = _strdup(argv[index]);
+ if (!context->output_file)
+ return -1;
+ }
return 1;
}
if (!context->output_file)
{
- context->output_file = _strdup(context->default_name);
- if (context->output_file)
- return -1;
- }
+ context->output_file = _strdup(context->default_name);
+ if (context->output_file)
+ return -1;
+ }
/**
* Output Private Key File
if (context->crtFormat)
{
- if (makecert_context_output_private_key_file(context, context->output_path) < 0)
- return -1;
- }
+ if (makecert_context_output_private_key_file(context, context->output_path) < 0)
+ return -1;
+ }
}
return 0;