bind9/lib/dns/rdata
Mark Andrews ca7355b7d0 Fix OID check for PRIVATEOID keys and signatures
We were failing to account for the length byte before the OID.
See RFC 4034.

   Algorithm number 254 is reserved for private use and will never be
   assigned to a specific algorithm.  The public key area in the DNSKEY
   RR and the signature area in the RRSIG RR begin with an unsigned
   length byte followed by a BER encoded Object Identifier (ISO OID) of
   that length.  The OID indicates the private algorithm in use, and the
   remainder of the area is whatever is required by that algorithm.
   Entities should only use OIDs they control to designate their private
   algorithms.
2025-04-03 23:00:16 +11:00
..
any_255 simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
ch_3 simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
generic Fix OID check for PRIVATEOID keys and signatures 2025-04-03 23:00:16 +11:00
hs_4 Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
in_1 simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
rdatastructpre.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
rdatastructsuf.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00