Remove unused obsolete isc_hash_* function, and just keep the FNV-1a version
This commit is contained in:
@@ -306,9 +306,6 @@ main(int argc, char **argv) {
|
||||
|
||||
result = isc_entropy_create(mctx, &ectx);
|
||||
check_result(result, "isc_entropy_create()");
|
||||
result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
|
||||
check_result(result, "isc_hash_create()");
|
||||
|
||||
result = isc_log_create(mctx, &lctx, &lcfg);
|
||||
check_result(result, "isc_log_create()");
|
||||
isc_log_setcontext(lctx);
|
||||
@@ -418,7 +415,6 @@ main(int argc, char **argv) {
|
||||
|
||||
isc_log_destroy(&lctx);
|
||||
|
||||
isc_hash_destroy();
|
||||
isc_entropy_detach(&ectx);
|
||||
|
||||
isc_mempool_destroy(&cmp);
|
||||
|
||||
@@ -209,8 +209,6 @@ main(int argc, char *argv[]) {
|
||||
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
|
||||
|
||||
RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
|
||||
RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
|
||||
== ISC_R_SUCCESS);
|
||||
|
||||
while ((ch = isc_commandline_parse(argc, argv, "d:vw:")) != -1) {
|
||||
switch (ch) {
|
||||
@@ -356,7 +354,6 @@ main(int argc, char *argv[]) {
|
||||
|
||||
isc_log_destroy(&lctx);
|
||||
|
||||
isc_hash_destroy();
|
||||
isc_entropy_detach(&ectx);
|
||||
|
||||
if (verbose)
|
||||
|
||||
Reference in New Issue
Block a user