From 584ad7dedd0928a59830f82d82ae696bf6f4e705 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Sun, 19 Dec 2010 07:29:36 +0000 Subject: [PATCH] 2990. [bug] 'dnssec-settime -S' no longer tests prepublication interval validity when the interval is set to 0. [RT #22761] --- CHANGES | 4 ++++ bin/dnssec/dnssec-settime.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index d6c7e56635..6b4d776e10 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +2990. [bug] 'dnssec-settime -S' no longer tests prepublication + interval validity when the interval is set to 0. + [RT #22761] + 2989. [func] Added support for writable DLZ zones. (Contributed by Andrew Tridgell of the Samba project.) [RT #22629] diff --git a/bin/dnssec/dnssec-settime.c b/bin/dnssec/dnssec-settime.c index 051b649673..7791db01e0 100644 --- a/bin/dnssec/dnssec-settime.c +++ b/bin/dnssec/dnssec-settime.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dnssec-settime.c,v 1.27 2010/08/16 23:46:51 tbox Exp $ */ +/* $Id: dnssec-settime.c,v 1.28 2010/12/19 07:29:36 each Exp $ */ /*! \file */ @@ -386,7 +386,7 @@ main(int argc, char **argv) { "generating a successor."); pub = act - prepub; - if (pub < now) + if (pub < now && prepub != 0) fatal("Predecessor will become inactive before the\n\t" "prepublication period ends. Either change " "its inactivation date,\n\t"