diff options
author | Chirag Jog <chirag@clogeny.com> | 2014-06-16 04:32:29 +0000 |
---|---|---|
committer | Chirag Jog <chirag@clogeny.com> | 2014-06-16 04:32:29 +0000 |
commit | a73f1a1a137b941d4c86e2f18d81f586be273a7d (patch) | |
tree | d629f0eb816e7f248ca45e4c15ba707eeac7fd18 | |
parent | eb2c1be2c3e88d4e912ff3a146c8befefe8f88c2 (diff) | |
download | cryptography-a73f1a1a137b941d4c86e2f18d81f586be273a7d.tar.gz cryptography-a73f1a1a137b941d4c86e2f18d81f586be273a7d.tar.bz2 cryptography-a73f1a1a137b941d4c86e2f18d81f586be273a7d.zip |
Use size_t as the per definition of aes.h . size_t translates correctly to int or long
based on arch type.
-rw-r--r-- | cryptography/hazmat/bindings/openssl/aes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/bindings/openssl/aes.py b/cryptography/hazmat/bindings/openssl/aes.py index b0e00721..4f79cd07 100644 --- a/cryptography/hazmat/bindings/openssl/aes.py +++ b/cryptography/hazmat/bindings/openssl/aes.py @@ -32,7 +32,7 @@ int AES_set_decrypt_key(const unsigned char *, const int, AES_KEY *); /* The ctr128_encrypt function is only useful in 0.9.8. You should use EVP for this in 1.0.0+. */ void AES_ctr128_encrypt(const unsigned char *, unsigned char *, - const unsigned long, const AES_KEY *, + const unsigned size_t, const AES_KEY *, unsigned char[], unsigned char[], unsigned int *); """ |