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

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

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 15 2011 - 13:15:43 MDT

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