mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-07 10:27:44 +02:00
test update and nicer text output for unbound-anchor
git-svn-id: file:///svn/unbound/trunk@2273 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -1816,6 +1816,8 @@ probe_date_allows_certupdate(char* root_anchor_file)
|
||||
" please correct the clock\n");
|
||||
return 0;
|
||||
}
|
||||
if(last_success == 0)
|
||||
return 1; /* no probe time */
|
||||
if(now - last_success < 0) {
|
||||
if(verb) printf("the last successful probe is in the future,"
|
||||
" clock was modified\n");
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Reference in New Issue
Block a user