Modernise and fix (ancient) "maurice" demos.

This commit is contained in:
Dr. Stephen Henson
2001-09-28 01:48:34 +00:00
parent de822715b2
commit cb7fd76f57
2 changed files with 3 additions and 8 deletions

View File

@@ -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;