diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-02-21 00:45:27 -0800 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-04-21 20:41:18 -0700 |
commit | 1dd8353cc490f954677285415ec01e253f84b93d (patch) | |
tree | 485b17eeaad2f25b85f5491a47d0224047ce9137 /src/Blowfish.c | |
parent | 076560be889ef220c8fb10dd68635468939345ab (diff) | |
download | pycrypto-1dd8353cc490f954677285415ec01e253f84b93d.tar.gz |
Add pycrypto_common.h and clean up a bunch of miscellaneous includes & typedefs
Diffstat (limited to 'src/Blowfish.c')
-rw-r--r-- | src/Blowfish.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/Blowfish.c b/src/Blowfish.c index 9985728..96f8628 100644 --- a/src/Blowfish.c +++ b/src/Blowfish.c @@ -26,22 +26,11 @@ * http://www.schneier.com/paper-blowfish-fse.html */ -#include "Python.h" -#include "config.h" -#if HAVE_STDINT_H -# include <stdint.h> -#elif HAVE_INTTYPES_H -# include <inttypes.h> -#elif HAVE_SYS_INTTYPES_H -# include <sys/inttypes.h> -#else -# error "stdint.h and inttypes.h not found" -#endif +#include "pycrypto_common.h" +#include "Blowfish-tables.h" #include <assert.h> #include <string.h> -#include "Blowfish-tables.h" - #define MODULE_NAME _Blowfish #define BLOCK_SIZE 8 /* 64-bit block size */ #define KEY_SIZE 0 /* variable key size */ |