Permalink
Browse files

dont referer python types

  • Loading branch information...
1 parent 8c8e6cb commit c7405eadca41aeaa60a2eb3110ecf0246a719bd8 @muromec committed May 3, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 epycs/aesmodule.c
  2. +1 −2 epycs/rijndael.h
View
2 epycs/aesmodule.c
@@ -5,7 +5,7 @@
typedef struct {
PyObject_HEAD
- PY_UINT32_T ks[60];
+ u32 ks[60];
} PyAES_context;
View
3 epycs/rijndael.h
@@ -1,9 +1,8 @@
-#include <Python.h>
#ifndef __RIJNDAEL_H_
#define __RIJNDAEL_H_
#ifndef u32
- #define u32 PY_UINT32_T
+ #define u32 unsigned int
#endif
void aes_256_setkey (const void * const key, u32 * ks);

0 comments on commit c7405ea

Please sign in to comment.