]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix algorithm rollover bug wrt keytag conflicts
authorMatthijs Mekking <matthijs@isc.org>
Wed, 21 Aug 2024 15:14:48 +0000 (17:14 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 22 Aug 2024 09:29:43 +0000 (11:29 +0200)
commitf37eb33f29ad50cead2673f4f7634839ef7e2a26
treeaea10dea5800f08c29be5ddb3b8d6fbd03a94b16
parent7bb6d8250563534cec077763f1f0887d233a413c
Fix algorithm rollover bug wrt keytag conflicts

If there is an algorithm rollover and two keys of different algorithm
share the same keytags, then there is a possibility that if we check
that a key matches a specific state, we are checking against the wrong
key.

Fix this by not only checking for matching key id but also key
algorithm.
lib/dns/keymgr.c