summaryrefslogtreecommitdiff
path: root/src/MD2.c
diff options
context:
space:
mode:
authorLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2011-10-16 22:41:21 +0200
committerLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2011-10-16 22:41:21 +0200
commit897b75983c31a9e2630af92161e6206c2480685e (patch)
treeee73668ae2862dd828fd39c7bf41e4dbc10a1e09 /src/MD2.c
parente05362993e34be982bd08e5ffd076c3e4a351232 (diff)
downloadpycrypto-897b75983c31a9e2630af92161e6206c2480685e.tar.gz
Added Lorenz Quack's native C implementation of all SHA-2 algorithm
(as submitted here https://bugs.launchpad.net/pycrypto/+bug/544792) so that they are available also in Python 2.1, 2.2, 2.3 and 2.4. Regardless where the implementation comes from (Python standard library or our native modules, depending on the Python version), all Crypto.Hash objects are always used as front-ends.
Diffstat (limited to 'src/MD2.c')
-rw-r--r--src/MD2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MD2.c b/src/MD2.c
index 6bb2906..6e2a2ca 100644
--- a/src/MD2.c
+++ b/src/MD2.c
@@ -30,7 +30,7 @@
#include <string.h>
#include "Python.h"
-#define MODULE_NAME MD2
+#define MODULE_NAME _MD2
#define DIGEST_SIZE 16
#define BLOCK_SIZE 64