2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

4400. [bug] ttl policy was not being inherited in policy.py.

[RT #42718]
This commit is contained in:
Mark Andrews
2016-06-27 13:07:45 +10:00
parent 8d49a1a0d1
commit 50a3eae6cf
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
4400. [bug] ttl policy was not being inherited in policy.py.
[RT #42718]
4399. [bug] policy.py 'ECCGOST', 'ECDSAP256SHA256', and 4399. [bug] policy.py 'ECCGOST', 'ECDSAP256SHA256', and
'ECDSAP384SHA384' don't have settable keysize. 'ECDSAP384SHA384' don't have settable keysize.
[RT #42718] [RT #42718]

View File

@@ -493,6 +493,12 @@ class dnssec_policy:
p.zsk_postpublish = parent and \ p.zsk_postpublish = parent and \
parent.zsk_postpublish or ap.zsk_postpublish parent.zsk_postpublish or ap.zsk_postpublish
if p.keyttl is None:
parent = p.parent or self.named_policy['default']
while parent is not None and not parent.keyttl:
parent = parent.parent
p.keyttl = parent and parent.keyttl
if 'novalidate' not in kwargs or not kwargs['novalidate']: if 'novalidate' not in kwargs or not kwargs['novalidate']:
(valid, msg) = p.validate() (valid, msg) = p.validate()
if not valid: if not valid: