[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3843 - trunk/OpenDNSSEC/signer/src/signer

Matthijs Mekking matthijs at nlnetlabs.nl
Tue Aug 31 16:01:16 CEST 2010


Author: matthijs
Date: 2010-08-31 16:01:16 +0200 (Tue, 31 Aug 2010)
New Revision: 3843

Modified:
   trunk/OpenDNSSEC/signer/src/signer/se_key.c
   trunk/OpenDNSSEC/signer/src/signer/zone.c
Log:
small changes



Modified: trunk/OpenDNSSEC/signer/src/signer/se_key.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/signer/se_key.c	2010-08-31 14:00:49 UTC (rev 3842)
+++ trunk/OpenDNSSEC/signer/src/signer/se_key.c	2010-08-31 14:01:16 UTC (rev 3843)
@@ -293,7 +293,9 @@
 {
     if (kl) {
         se_log_debug("clean up key list");
-        key_cleanup(kl->first_key);
+        if (kl->first_key) {
+            key_cleanup(kl->first_key);
+        }
         se_free((void*)kl);
     } else {
         se_log_warning("cleanup empty key list");

Modified: trunk/OpenDNSSEC/signer/src/signer/zone.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/signer/zone.c	2010-08-31 14:00:49 UTC (rev 3842)
+++ trunk/OpenDNSSEC/signer/src/signer/zone.c	2010-08-31 14:01:16 UTC (rev 3843)
@@ -721,6 +721,7 @@
         return;
     }
     zone->signconf->keys = keylist_create();
+    zone->signconf->last_modified = 0;
 
     /* zone data */
     filename = se_build_path(zone->name, ".unsorted", 0);




More information about the Opendnssec-commits mailing list