summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/analysis')
-rw-r--r--plugins/pychrysa/analysis/content.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/pychrysa/analysis/content.c b/plugins/pychrysa/analysis/content.c
index 00265e3..d3da2b1 100644
--- a/plugins/pychrysa/analysis/content.c
+++ b/plugins/pychrysa/analysis/content.c
@@ -82,12 +82,9 @@ static PyObject *py_binary_content_get_checksum(PyObject *self, PyObject *args)
content = G_BIN_CONTENT(pygobject_get(self));
- //checksum = g_binary_content_get_cheksum(content);
+ checksum = g_binary_content_get_checksum(content);
- printf("YEAH\n");
- fflush(NULL);
-
- result = PyUnicode_FromString("checksum");
+ result = PyUnicode_FromString(checksum);
return result;