[Openvas-commits] r1864 - in trunk/openvas-client: . nessus
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Nov 28 10:13:35 CET 2008
Author: joeyschulze
Date: 2008-11-28 10:13:35 +0100 (Fri, 28 Nov 2008)
New Revision: 1864
Modified:
trunk/openvas-client/ChangeLog
trunk/openvas-client/nessus/report.c
Log:
Only try to save the certificate file if it exists
Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog 2008-11-28 08:47:26 UTC (rev 1863)
+++ trunk/openvas-client/ChangeLog 2008-11-28 09:13:35 UTC (rev 1864)
@@ -1,5 +1,10 @@
-2008-11-27 Joey Schulze <joey at infodrom.org>
+2008-11-28 Joey Schulze <joey at infodrom.org>
+ * nessus/report.c (report_save): Only try to save the certificate
+ file if it exists
+
+2008-11-27 Joey Schulze <joey at infodrom.org>
+
* nessus/latex_output.c (latex_conclusion): Improved wording and formatting
* nessus/latex_output.c (latex_appendix): Make generation of
Modified: trunk/openvas-client/nessus/report.c
===================================================================
--- trunk/openvas-client/nessus/report.c 2008-11-28 08:47:26 UTC (rev 1863)
+++ trunk/openvas-client/nessus/report.c 2008-11-28 09:13:35 UTC (rev 1864)
@@ -197,8 +197,8 @@
/* Save the certificate information (as of now) to
report_dir/certificate file */
- gboolean success = openvas_certificate_file_write(context, report_get_certificates_filename(report_context));
- if(success == FALSE)
+ if (context->signer_fp_certificates != NULL &&
+ openvas_certificate_file_write(context, report_get_certificates_filename(report_context)) == FALSE)
{
show_error(_("report_save() couldn't save the certificate information"));
return;
More information about the Openvas-commits
mailing list