makecert: Fix incorrect return value check
This commit is contained in:
parent
15473557da
commit
d64195d46a
@ -734,7 +734,7 @@ int makecert_context_output_private_key_file(MAKECERT_CONTEXT* context, char* pa
|
||||
if (!context->output_file)
|
||||
{
|
||||
context->output_file = _strdup(context->default_name);
|
||||
if (context->output_file)
|
||||
if (!context->output_file)
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user