projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b304d
)
Increase offset for BIO_f_enc() to avoid problems with overlapping buffers
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 28 Apr 2005 00:21:29 +0000
(
00:21
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 28 Apr 2005 00:21:29 +0000
(
00:21
+0000)
when decrypting data.
crypto/evp/bio_enc.c
patch
|
blob
|
history
diff --git
a/crypto/evp/bio_enc.c
b/crypto/evp/bio_enc.c
index 183836c85c4fb7ff266b9e04fb6d527af8710d96..f6ac94c6e1bba4464a6f6c7239cd42bde6fb9dfc 100644
(file)
--- a/
crypto/evp/bio_enc.c
+++ b/
crypto/evp/bio_enc.c
@@
-71,7
+71,7
@@
static int enc_new(BIO *h);
static int enc_free(BIO *data);
static long enc_callback_ctrl(BIO *h, int cmd, bio_info_cb *fps);
#define ENC_BLOCK_SIZE (1024*4)
-#define BUF_OFFSET
EVP_MAX_BLOCK_LENGTH
+#define BUF_OFFSET
(EVP_MAX_BLOCK_LENGTH*2)
typedef struct enc_struct
{