Change the dns_hash_name() and dns_hash_fullname() functions to use
isc_hash32() as the maximum hashtable size in rbt is 0..UINT32_MAX
large.
(cherry picked from commit
a9182c89a666a9aa772c770c7f9f9ea39b98f328)
}
/* High bits are more random. */
- return (isc_hash_function(name->ndata, length, case_sensitive) >> 32);
+ return (isc_hash32(name->ndata, length, case_sensitive));
}
unsigned int
}
/* High bits are more random. */
- return (isc_hash_function(name->ndata, name->length, case_sensitive) >>
- 32);
+ return (isc_hash32(name->ndata, name->length, case_sensitive));
}
dns_namereln_t