Re: [PATCH] Bug fix: "(ssl_crtd): Cannot add certificate to db" when updating expired cert

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Thu, 22 Sep 2011 12:31:22 +0300

If there is not any objection I will commit this patch to trunk.
It fixes a bug which may cause problems in some installations...

On 09/15/2011 04:15 PM, Tsantilas Christos wrote:
> When ssl_crtd helper needs to add a fresh certificate to the database
> but finds an expired certificate already stored, ssl_crtd deletes the
> expired certificate file from disk before adding the fresh one. However,
> the addition still fails because the expired certificate was not removed
> from database indexes.
>
> This fix:
> - Adds code to update database indexes upon deletion of a row.
> - Polishes certificates deletion code to avoid duplication.
>
> This is a Measurement Factory project.
Received on Thu Sep 22 2011 - 09:31:38 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 22 2011 - 12:00:05 MDT