diff options
Diffstat (limited to 'demos/maurice/example1.c')
-rw-r--r-- | demos/maurice/example1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/maurice/example1.c b/demos/maurice/example1.c index 0e70523..4890b69 100644 --- a/demos/maurice/example1.c +++ b/demos/maurice/example1.c @@ -130,7 +130,7 @@ void main_decrypt(void) char ebuf[512]; unsigned int buflen; EVP_CIPHER_CTX ectx; - unsigned char iv[8]; + unsigned char iv[EVP_MAX_IV_LENGTH]; unsigned char *encryptKey; unsigned int ekeylen; EVP_PKEY *privateKey; |