From: Otto Date: Tue, 26 Jan 2021 14:53:18 +0000 (+0100) Subject: Mention rfc4034.tx in comments, marking the spots something has to be done in the... X-Git-Tag: dnsdist-1.6.0-alpha1~10^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d315d7d9308bbca9e34ec56ac0bb6ccd9bf587f;p=thirdparty%2Fpdns.git Mention rfc4034.tx in comments, marking the spots something has to be done in the future. --- 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; }