summaryrefslogtreecommitdiff
path: root/src/MD4.c
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2013-02-21 00:45:27 -0800
committerDwayne Litzenberger <dlitz@dlitz.net>2013-04-21 20:41:18 -0700
commit1dd8353cc490f954677285415ec01e253f84b93d (patch)
tree485b17eeaad2f25b85f5491a47d0224047ce9137 /src/MD4.c
parent076560be889ef220c8fb10dd68635468939345ab (diff)
downloadpycrypto-1dd8353cc490f954677285415ec01e253f84b93d.tar.gz
Add pycrypto_common.h and clean up a bunch of miscellaneous includes & typedefs
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 {