[Openvas-devel] Certificate error after scanning a host

Felix Wolfsteller felix.wolfsteller at intevation.de
Fri Nov 28 10:02:21 CET 2008

> for some days I see "report_save() couldn't save the certificate
> information" after a scan.  This change is caused by the need to store the
> certificate and the possibility to display certificate information.
> However, context->signer_fp_certificates == NULL is considered an error
> and thus routines fail, resulting in this error message.
> The problem is that (a) signer_fp_certificates is NULL and (b) that
> openvas_certificate_file_write is called unconditionally in report.c
> (report_save).
> The attached patch fixes this.  Please let me know if I should commit it.

Thanks for pointing that out. Does it happen with the graphical client? 
Commit the patch, I might touch error handling afterwards.

Felix Wolfsteller |  ++49-541-335 08 3451  |  http://www.intevation.de/
PGP Key: 39DE0100
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

More information about the Openvas-devel mailing list