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:
Wouter Wijngaards 2010-10-01 13:55:16 +00:00
parent 00ae321bf4
commit cb978ff7be
2 changed files with 2 additions and 0 deletions

View file

@ -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");

Binary file not shown.