summaryrefslogtreecommitdiff
path: root/src/MD4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/MD4.c')
-rw-r--r--src/MD4.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/MD4.c b/src/MD4.c
index 7e453a8..a2be10e 100644
--- a/src/MD4.c
+++ b/src/MD4.c
@@ -25,11 +25,9 @@
* ===================================================================
*
*/
-
-#include "Python.h"
+#include "pycrypto_common.h"
#include <string.h>
-#include "pycrypto_compat.h"
#define MODULE_NAME MD4
#define DIGEST_SIZE 16
@@ -52,8 +50,8 @@ static char MODULE__doc__[] =
"\n"
".. _RFC1320: http://tools.ietf.org/html/rfc1320\n";
-typedef unsigned int U32;
-typedef unsigned char U8;
+typedef uint32_t U32;
+typedef uint8_t U8;
#define U32_MAX (U32)4294967295
typedef struct {