]> granicus.if.org Git - pdns/commit
rec: Work around a RRSIG year-2038 issue in the negcache unit tests
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 5 Dec 2017 13:47:39 +0000 (14:47 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 5 Dec 2017 13:48:47 +0000 (14:48 +0100)
commit08d99e35da19dc35a966418f888222fbd598f269
treebe05e309d4124930e854d4df0f6185a2309b6ab4
parentb6a30c02d91e2efff4624bf8cbc7bf754d1c10bd
rec: Work around a RRSIG year-2038 issue in the negcache unit tests

On 32-bit OS with a signed 32-bit `time_t`, we have a known issue with
dates later than 2038 in `RecordTextWriter::xfrTime()`. For now we will
just use an earlier date than 2038 in these tests since the date has no
relevance there.
pdns/recursordist/test-negcache_cc.cc