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:
d4cddc5
)
correct error code
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 22 Apr 2012 13:31:46 +0000
(13:31 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 22 Apr 2012 13:31:46 +0000
(13:31 +0000)
crypto/buffer/buffer.c
patch
|
blob
|
history
diff --git
a/crypto/buffer/buffer.c
b/crypto/buffer/buffer.c
index 3fa7229977965155fa9d1690c471cdf678b37dd8..1f09cba061d7d0a2edebb9f50d15dcb4f3922fa1 100644
(file)
--- a/
crypto/buffer/buffer.c
+++ b/
crypto/buffer/buffer.c
@@
-156,7
+156,7
@@
int BUF_MEM_grow_clean(BUF_MEM *str, int len)
/* This limit is sufficient to ensure (len+3)/3*4 < 2**31 */
if (len > LIMIT_BEFORE_EXPANSION)
{
- BUFerr(BUF_F_BUF_MEM_GROW,ERR_R_MALLOC_FAILURE);
+ BUFerr(BUF_F_BUF_MEM_GROW
_CLEAN
,ERR_R_MALLOC_FAILURE);
return 0;
}
n=(len+3)/3*4;