[Openvas-devel] Certificate error after scanning a host

Joey Schulze joey at infodrom.org
Fri Nov 28 10:10:57 CET 2008


Felix Wolfsteller wrote:
> > 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? 

Yes.

> Commit the patch, I might touch error handling afterwards.

Done.

Regards,

	Joey

-- 
If you come from outside of Finland, you live in wrong country.
	-- motd of irc.funet.fi

Please always Cc to me when replying to me on the lists.


More information about the Openvas-devel mailing list