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)