These checks have been redundant since the `rbtdb64` implementation
was removed in 2018 (commit
784087390ae8). It isn't possible to create
a zone that uses `database "rbt64"` now that the `rbt64` database
implementation has been removed, so the checks will always fail.
* Skip checks when using an alternate data source.
*/
cfg_map_get(zoptions, "database", &dbobj);
- if (dbobj != NULL && strcmp("rbt", cfg_obj_asstring(dbobj)) != 0 &&
- strcmp("rbt64", cfg_obj_asstring(dbobj)) != 0)
- {
+ if (dbobj != NULL && strcmp("rbt", cfg_obj_asstring(dbobj)) != 0) {
return (ISC_R_SUCCESS);
}
for (i = 0; i < dbtypec; i++) {
if (argv[i] == NULL || strcmp(argv[i], dbargv[i]) != 0) {
CHECK(ISC_R_FAILURE);
-
- /*
- * Check that there are not extra arguments.
- */
}
}
}
/*
- * If the zone type is rbt/rbt64 then primary/hint zones require file
+ * If the zone type is rbt then primary/hint zones require file
* clauses. If inline-signing is used, then secondary zones require a
* file clause as well.
*/
result = ISC_R_FAILURE;
} else if (!dlz && (tresult == ISC_R_NOTFOUND ||
(tresult == ISC_R_SUCCESS &&
- (strcmp("rbt", cfg_obj_asstring(obj)) == 0 ||
- strcmp("rbt64", cfg_obj_asstring(obj)) == 0))))
+ strcmp("rbt", cfg_obj_asstring(obj)) == 0)))
{
isc_result_t res1;
const cfg_obj_t *fileobj = NULL;
void *driverarg, dns_db_t **dbp);
/*%<
- * Create a new database of type "rbt" (or "rbt64"). Called via
- * dns_db_create(); see documentation for that function for more details.
+ * Create a new database of type "rbt". Called via dns_db_create();
+ * see documentation for that function for more details.
*
* If argv[0] is set, it points to a valid memory context to be used for
* allocation of heap memory. Generally this is used for cache databases
* Only zones that are loaded instead of mmap()ed create the
* summary data and so can be policy zones.
*/
- if (strcmp(zone->db_argv[0], "rbt") != 0 &&
- strcmp(zone->db_argv[0], "rbt64") != 0)
- {
+ if (strcmp(zone->db_argv[0], "rbt") != 0) {
return (ISC_R_NOTIMPLEMENTED);
}
INSIST(zone->db_argc >= 1);
- rbt = strcmp(zone->db_argv[0], "rbt") == 0 ||
- strcmp(zone->db_argv[0], "rbt64") == 0;
+ rbt = strcmp(zone->db_argv[0], "rbt") == 0;
if (zone->db != NULL && zone->masterfile == NULL && rbt) {
/*