summaryrefslogtreecommitdiff
path: root/plugins/apihashing/core.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-10-18 06:34:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-10-18 06:34:20 (GMT)
commit178e0de0a8962def1a4b1d612f86b0ca5f3bed3f (patch)
tree38f468596848e2bed787594d9f15dbed7da55406 /plugins/apihashing/core.c
parent4f2fdc0f97f49b26772c2a466d22fdf84eb0f6d5 (diff)
Add support for the DJB2 algorithm.
Diffstat (limited to 'plugins/apihashing/core.c')
-rw-r--r--plugins/apihashing/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/apihashing/core.c b/plugins/apihashing/core.c
index dbf1cef..9114afe 100644
--- a/plugins/apihashing/core.c
+++ b/plugins/apihashing/core.c
@@ -32,6 +32,7 @@
# include "python/module.h"
# include "python/classics/module.h"
#endif
+#include "classics/djb2.h"
#include "classics/ror13.h"
@@ -77,6 +78,7 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin)
__status; \
})
+ if (result) result = REGISTER_SCAN_MODIFIER(g_scan_djb2_modifier_new());
if (result) result = REGISTER_SCAN_MODIFIER(g_scan_ror13_modifier_new());
#ifdef INCLUDE_PYTHON3_BINDINGS