diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-07-28 21:55:02 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-07-28 21:55:02 (GMT) |
commit | 0c92911504f7d267c913fc8d2069cb87139b390b (patch) | |
tree | 236cf29352580a48c33ef54778d0a18c77608664 /plugins/pychrysa | |
parent | b509af52114501aff3ef81c49c431570f31a21d3 (diff) |
Centralized the checksum computing of binary contents.
Diffstat (limited to 'plugins/pychrysa')
-rw-r--r-- | plugins/pychrysa/analysis/content.c | 7 |
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; |