From b0eecc93cf9bdd223e0cb3626f6c26763219507f Mon Sep 17 00:00:00 2001 From: drochner Date: Wed, 25 Apr 2012 11:02:46 +0000 Subject: [PATCH] fix for previous fix: correct error code (upstream rev.22474) --- crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c b/crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c index 52e65dfdfcbb..d7aa79ad7f0a 100644 --- a/crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c +++ b/crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c @@ -156,7 +156,7 @@ int BUF_MEM_grow_clean(BUF_MEM *str, size_t 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;