Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better make length a long long int in aes_crypt_cbc just in case.

  • Loading branch information...
commit b302e6b9ad30e0cc2a819fa245bd798528c4c3de 1 parent 7e71d86
Con Kolivas authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  aes.c
  2. +1 −1  aes.h
2  aes.c
View
@@ -754,7 +754,7 @@ int aes_crypt_ecb( aes_context *ctx,
*/
int aes_crypt_cbc( aes_context *ctx,
int mode,
- int length,
+ long long int length,
unsigned char iv[16],
const unsigned char *input,
unsigned char *output )
2  aes.h
View
@@ -100,7 +100,7 @@ int aes_crypt_ecb( aes_context *ctx,
*/
int aes_crypt_cbc( aes_context *ctx,
int mode,
- int length,
+ long long int length,
unsigned char iv[16],
const unsigned char *input,
unsigned char *output );
Please sign in to comment.
Something went wrong with that request. Please try again.