[ldns-users] ldns patch for ldns-verify-zone to take a time offset
Willem at NLnetLabs.nl
Wed Nov 2 21:42:06 UTC 2011
Thanks Paul, I am already preparing a patch with new function names so
that those programs keep working unmodified. I believe it is safe to
replace int32_t with time_t because it was only used like that in
ldns_rrsig_check_timestamps which wasn't exported from the library
anyway. It will all be in trunk when you wake up tomorrow (which means I
am going to finish it tomorrow morning myself).
Op 02-11-11 19:18, Paul Wouters schreef:
> On Wed, 2 Nov 2011, Willem Toorop wrote:
>>> If there is a good reason to change the API, you should change the
>> Okay! We will pass check_time down, but we don't have to break the API
>> by creating new functions and let the old ones call the new ones with
>> the value returned from time(NULL).
> Ok. In case it is useful, here is the full patch that also addresses
> drill and ldns-python to deal with the check_time argument.
> Note that you might want to consider allowing a negative off set as well,
> so you could check the zone file based on "yesterday".
> Since there are casts to uinet32_t right now, that might not work
More information about the ldns-users