mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-23 18:24:58 +02:00
debug override date config option.
git-svn-id: file:///svn/unbound/trunk@505 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -659,9 +659,10 @@ check_dates(struct val_env* ve, uint8_t* expi_p, uint8_t* incep_p)
|
||||
incep = ntohl(incep);
|
||||
|
||||
/* get current date */
|
||||
if(ve->date_override)
|
||||
if(ve->date_override) {
|
||||
now = ve->date_override;
|
||||
else now = (int32_t)time(0);
|
||||
verbose(VERB_ALGO, "date override option %d", (int)now);
|
||||
} else now = (int32_t)time(0);
|
||||
|
||||
/* check them */
|
||||
if(incep - expi > 0) {
|
||||
|
||||
Reference in New Issue
Block a user