From 4d315d7d9308bbca9e34ec56ac0bb6ccd9bf587f Mon Sep 17 00:00:00 2001 From: Otto Date: Tue, 26 Jan 2021 15:53:18 +0100 Subject: [PATCH] Mention rfc4034.tx in comments, marking the spots something has to be done in the future. --- pdns/validate.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdns/validate.cc b/pdns/validate.cc index f1631641ff..7f6bac214a 100644 --- a/pdns/validate.cc +++ b/pdns/validate.cc @@ -763,11 +763,13 @@ static const vector getZoneCuts(const DNSName& begin, const DNSName& en bool isRRSIGNotExpired(const time_t now, const shared_ptr& sig) { + // Should use https://www.rfc-editor.org/rfc/rfc4034.txt section 3.1.5 return sig->d_sigexpire >= now; } bool isRRSIGIncepted(const time_t now, const shared_ptr& sig) { + // Should use https://www.rfc-editor.org/rfc/rfc4034.txt section 3.1.5 return sig->d_siginception - g_signatureInceptionSkew <= now; } -- 2.47.3