bind9/tests/dns
Mark Andrews e09eb2ff21 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.

(cherry picked from commit ca7355b7d0)
2025-04-09 20:07:31 +00:00
..
comparekeys Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
testdata Move resconf_test.c to tests/dns and cleanup 2024-12-12 22:50:22 +00:00
testkeys Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
.gitignore Remove test.skr unit test file 2024-09-09 17:42:05 +00:00
acl_test.c Refactor dns_{acl,aclenv}_create to return void 2023-10-13 14:44:40 +02:00
badcache_test.c Improve the badcache cleaning by adding LRU and using RCU 2024-11-27 17:07:03 +00:00
db_test.c add a unit test with an empty node 2025-03-14 23:23:00 +00:00
dbdiff_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
dbiterator_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dbversion_test.c qpzone find() function could set foundname incorrectly 2025-03-17 09:27:09 +00:00
diff_test.c Incrementally apply AXFR transfer 2024-11-26 07:17:06 +00:00
dispatch_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dns64_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
dnstap_test.c Improve the badcache cleaning by adding LRU and using RCU 2024-11-27 17:07:03 +00:00
dst_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ede_test.c update EDE copy and add dup tests 2025-01-30 12:37:55 +00:00
geoip_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
Kdh.+002+18602.key Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
keytable_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
Krsa.+008+29238.key Check if RSASHA1 is supported by the OS 2022-08-09 16:22:19 +02:00
Makefile.am Move resconf_test.c to tests/dns and cleanup 2024-12-12 22:50:22 +00:00
master_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
mkraw.pl Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
name_test.c Silence warning when initialising compress 2025-03-26 12:43:55 +00:00
nametree_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
nsec3_test.c Change max NSEC3 iterations in unit tests to 50 2023-12-05 14:58:58 +00:00
nsec3param_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
private_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
qp_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
qpdb_test.c Use isc_queue to implement wait-free deadnodes queue 2024-06-05 09:19:56 +02:00
qpmulti_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
qpzone_test.c Reduce false sharing in dns_qpzone 2025-02-04 23:28:50 +01:00
rbt_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rdata_test.c Fix OID check for PRIVATEOID keys and signatures 2025-04-09 20:07:31 +00:00
rdataset_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
rdatasetstats_test.c Refactor isc_stats_create() and its downstream users to return void 2023-07-27 11:37:44 +02:00
resconf_test.c Move resconf_test.c to tests/dns and cleanup 2024-12-12 22:50:22 +00:00
resolver_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rsa_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
sigs_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
skr_test.c Remove test.skr unit test file 2024-09-09 17:42:05 +00:00
time_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
tsig_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
update_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
zonemgr_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
zt_test.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00