about summary refs log tree commit diff stats
diff options
context:
space:
mode:
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')