about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2012-01-18 08:48:31 +0100
committerserpilliere <devnull@localhost>2012-01-18 08:48:31 +0100
commit866645102ecce32a9a542a4d18f9a611d621ac5b (patch)
tree36e42039592aae557ebf244c749f1ec5b77ca79e
parentaf39cd81b4d93e2e5b410f865a6fb4e2ce535ca7 (diff)
downloadmiasm-866645102ecce32a9a542a4d18f9a611d621ac5b.tar.gz
miasm-866645102ecce32a9a542a4d18f9a611d621ac5b.zip
tipo
Diffstat (limited to '')
-rw-r--r--miasm/tools/codenat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/tools/codenat.py b/miasm/tools/codenat.py
index 28ab9843..f1758752 100644
--- a/miasm/tools/codenat.py
+++ b/miasm/tools/codenat.py
@@ -62,7 +62,7 @@ blocs_nat = {}
 
 def gen_C_module(c_source):
     
-    lib_name = 'emul_cache/out_'+MD5.new(c_source).hexdigest()
+    lib_name = 'emul_cache/out_'+md5(c_source).hexdigest()
     lib_dir = os.path.dirname(os.path.realpath(__file__))
     lib_dir = os.path.join(lib_dir, 'emul_lib')