mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
Make sure that the buffers are large enough to contain padding.
PR: 904
This commit is contained in:
parent
47c1735acd
commit
3ac0f28837
@ -253,7 +253,11 @@
|
||||
#endif
|
||||
|
||||
#undef BUFSIZE
|
||||
#define BUFSIZE ((long)1024*8+1)
|
||||
/* BUFSIZE needs to be one cipherblock larger than the largest number in the
|
||||
lengths array (see below), to make space for padding when doing EVP tests.
|
||||
1024 extra bytes may seem much, but hey, it doesn't hurt!
|
||||
-- Richard Levitte */
|
||||
#define BUFSIZE ((long)1024*9+1)
|
||||
int run=0;
|
||||
|
||||
static char ftime_used = 0, times_used = 0, gettimeofday_used = 0, getrusage_used = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user