[Opendnssec-commits] [svn.opendnssec.org/svn/dnssec] r6050 - in branches/OpenDNSSEC-1.3: . signer/src/signer

matthijs at nlnetlabs.nl matthijs at nlnetlabs.nl
Tue Jan 10 12:25:28 CET 2012


Author: matthijs
Date: 2012-01-10 12:25:28 +0100 (Tue, 10 Jan 2012)
New Revision: 6050

Modified:
   branches/OpenDNSSEC-1.3/NEWS
   branches/OpenDNSSEC-1.3/signer/src/signer/zonedata.c
Log:
fix time issues with the internal serial



Modified: branches/OpenDNSSEC-1.3/NEWS
===================================================================
--- branches/OpenDNSSEC-1.3/NEWS	2012-01-10 10:32:10 UTC (rev 6049)
+++ branches/OpenDNSSEC-1.3/NEWS	2012-01-10 11:25:28 UTC (rev 6050)
@@ -7,12 +7,14 @@
 * ods-enforcerd: Stop multiple instances of the enforcer running by checking
   for the pidfile at startup. If you want to run multiple instances then a
   different pidfile will need to be specified with the -P flag.
-* ods-ksmutil: "zone delete" renames the signconf file; so that if the zone is put
-  back the signer will not pick up the old file.
+* ods-ksmutil: "zone delete" renames the signconf file; so that if the zone is
+  put back the signer will not pick up the old file.
 
 Bugfixes:
 * Signer Engine: A file descriptor for sockets with value zero is allowed.
 * Signer Engine: Only log messages about a full signing queue in debug mode.
+* Signer Engine: Fix time issues, make sure that the internal serial does
+  not wander off after a failed audit.
 * Bugfix OPENDNSSEC-174: Configure the location for conf.xml with --config
   or -c when starting the signer.
 * Bugfix OPENDNSSEC-192: Signer crashed on deleting NSEC3 for a domain that

Modified: branches/OpenDNSSEC-1.3/signer/src/signer/zonedata.c
===================================================================
--- branches/OpenDNSSEC-1.3/signer/src/signer/zonedata.c	2012-01-10 10:32:10 UTC (rev 6049)
+++ branches/OpenDNSSEC-1.3/signer/src/signer/zonedata.c	2012-01-10 11:25:28 UTC (rev 6050)
@@ -1256,7 +1256,7 @@
     if (!zd->initialized) {
         zd->internal_serial = soa;
     } else {
-        zd->internal_serial += update; /* automatically does % 2^32 */
+        zd->internal_serial = prev + update; /* automatically does % 2^32 */
     }
     ods_log_debug("[%s] update serial: %u + %u = %u", zd_str, prev, update,
         zd->internal_serial);




More information about the Opendnssec-commits mailing list