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:
aac3861
)
Oops. Need to allocate extra buffer.
author
Ben Laurie
<ben@openssl.org>
Sat, 30 Aug 2003 14:49:08 +0000
(14:49 +0000)
committer
Ben Laurie
<ben@openssl.org>
Sat, 30 Aug 2003 14:49:08 +0000
(14:49 +0000)
crypto/evp/e_des.c
patch
|
blob
|
history
diff --git
a/crypto/evp/e_des.c
b/crypto/evp/e_des.c
index 4e1337449bb7abbedb04afb45e4efe4ee85bb4ed..e95d2ec9144bc7bda1d73b406be00bbe5a870aee 100644
(file)
--- a/
crypto/evp/e_des.c
+++ b/
crypto/evp/e_des.c
@@
-125,7
+125,7
@@
static int des_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
{
unsigned char *tmp; /* DES_cfb_encrypt rudely overwrites the whole buffer*/
- tmp=alloca(inl);
+ tmp=alloca(inl
+7
);
memcpy(tmp,in,inl);
DES_cfb_encrypt(tmp,tmp,8,inl,ctx->cipher_data,(DES_cblock *)ctx->iv,
ctx->encrypt);