minor code refactoring change.

This commit is contained in:
Shreyas Zare
2024-12-21 15:35:45 +05:30
parent 736f2b8c92
commit ebdaa6fa11

View File

@@ -2368,7 +2368,7 @@ namespace DnsServerCore.Dns.Zones
private uint GetSignatureValidityPeriod() private uint GetSignatureValidityPeriod()
{ {
//SOA EXPIRE + 3 days //SOA EXPIRE + 3 days
return (_entries[DnsResourceRecordType.SOA][0].RDATA as DnsSOARecordData).Expire + (3 * 24 * 60 * 60); return GetZoneSoaExpire() + (3 * 24 * 60 * 60);
} }
internal DateTime GetKskDnsKeyStateReadyBy(DnssecPrivateKey privateKey) internal DateTime GetKskDnsKeyStateReadyBy(DnssecPrivateKey privateKey)