[winpr,path] fix NULL arguments for DeleteFile

This commit is contained in:
Armin Novak
2025-06-04 14:20:37 +02:00
committed by akallabeth
parent abbb998dca
commit b5b258c9f4
3 changed files with 8 additions and 10 deletions

View File

@@ -1102,7 +1102,7 @@ int makecert_context_process(MAKECERT_CONTEXT* context, int argc, char** argv)
{
if (!winpr_PathFileExists(context->output_path))
{
if (!CreateDirectoryA(context->output_path, NULL))
if (!winpr_PathMakePath(context->output_path, NULL))
return -1;
}