]> git.ipfire.org Git - thirdparty/bind9.git/commit
dnssec-keygen: Change flag options into booleans
authorMatthijs Mekking <matthijs@isc.org>
Wed, 17 Apr 2024 13:27:39 +0000 (15:27 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 19 Apr 2024 11:52:21 +0000 (13:52 +0200)
commitafda87cb0898729aab8415529a5be0237a980280
tree3779f0cf4480a691aecf2aebd8d7fc61508f5427
parent70070253026e9710e65e0c24af50a2ced8bfcf20
dnssec-keygen: Change flag options into booleans

We now have ctx.kskflag, ctx.zskflag, and ctx.revflag, but zskflag is
not quite like the other two, as it doesn't have a special bit in the
DNS packet, and is used as a boolean.

This patch changes so that we use booleans for all three, and
construct the flags based on which ones are set.

patch by @aram
bin/dnssec/dnssec-keygen.c