use hash for name lookup
diff --git a/libasn1fix/check_fixer.c b/libasn1fix/check_fixer.c
index 6f5f25e..b71a8c9 100644
--- a/libasn1fix/check_fixer.c
+++ b/libasn1fix/check_fixer.c
@@ -12,6 +12,7 @@
#include <errno.h>
#include <libgen.h>
+#include "genhash.h"
#include "asn1fix.h"
#include "asn1_buffer.h"
#include "asn1_namespace.h"
@@ -340,11 +341,7 @@
/*
* Scan in search for the original.
*/
- TQ_FOR(expr, &(mod->members), next) {
- if(strcmp(expr->Identifier, name) == 0)
- break;
- }
-
+ expr = genhash_get(mod->members_hash, name);
if(expr == NULL) {
fprintf(stderr,
"CHECKER: Value \"%s\" requested by "