From 005d70c9e426d7ed7f9d3a33bcbd0155a10bbd65 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 15 Oct 2024 23:26:25 +0200 Subject: [PATCH] [winpr,tools] makecert fix relative path usage --- winpr/tools/makecert/makecert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpr/tools/makecert/makecert.c b/winpr/tools/makecert/makecert.c index 9bcf7763c..b87925ed4 100644 --- a/winpr/tools/makecert/makecert.c +++ b/winpr/tools/makecert/makecert.c @@ -450,7 +450,7 @@ int makecert_context_output_certificate_file(MAKECERT_CONTEXT* context, const ch BIO* bio = NULL; char* x509_str = NULL; - if (!context || !path) + if (!context) return -1; if (!context->output_file)