X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fspeed.c;h=fed9131467090cf562f1d9fe83f3c5273db9adb7;hp=c2ee1de6cc3cbf318933ee30c8481835219c9510;hb=5f834ab123af6444b7cffe21849e434ad6479f8a;hpb=69ab08529048b2bd4b672717612ddb9a655def29 diff --git a/apps/speed.c b/apps/speed.c index c2ee1de6cc..fed9131467 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -414,7 +414,7 @@ int MAIN(int argc, char **argv) #define MAX_BLOCK_SIZE 64 #endif unsigned char DES_iv[8]; - unsigned char iv[MAX_BLOCK_SIZE/8]; + unsigned char iv[2*MAX_BLOCK_SIZE/8]; #ifndef OPENSSL_NO_DES DES_cblock *buf_as_des_cblock = NULL; static DES_cblock key ={0x12,0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0};