openssl/openssl-0.9.8g-speed-bug.patch
Tomáš Mráz 2a80bfda1d - enable some new crypto algorithms and features
- add some more important bug fixes from openssl CVS
2007-12-03 19:57:11 +00:00

14 lines
451 B
Diff

openssl/apps/speed.c 1.126.2.8 -> 1.126.2.9
--- openssl/apps/speed.c 2007/05/13 15:04:14 1.126.2.8
+++ openssl/apps/speed.c 2007/11/15 13:33:47 1.126.2.9
@@ -577,7 +577,7 @@
#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};