diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-09-28 01:48:34 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-09-28 01:48:34 +0000 |
commit | cb7fd76f572c6535856e882a6e9225163a45d977 (patch) | |
tree | c5dcde8d0ce9bd3a7d5f24f370f4934b8f9db9f4 /demos/maurice/example1.c | |
parent | de822715b2a7af12844d408b6d2f5f0b655d54bb (diff) | |
download | openssl-cb7fd76f572c6535856e882a6e9225163a45d977.tar.gz |
Modernise and fix (ancient) "maurice" demos.
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 0e70523a33..4890b69ce5 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; |