Module Name: src Committed By: riz Date: Sat May 19 16:28:15 UTC 2012
Modified Files: src/crypto/dist/openssl/crypto/buffer [netbsd-5]: buffer.c Log Message: crypto/dist/openssl/crypto/buffer/buffer.c patch Minor error code fix for ticket #1750. [drochner, ticket #1752] To generate a diff of this commit: cvs rdiff -u -r1.1.1.5.4.1 -r1.1.1.5.4.2 \ src/crypto/dist/openssl/crypto/buffer/buffer.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/dist/openssl/crypto/buffer/buffer.c diff -u src/crypto/dist/openssl/crypto/buffer/buffer.c:1.1.1.5.4.1 src/crypto/dist/openssl/crypto/buffer/buffer.c:1.1.1.5.4.2 --- src/crypto/dist/openssl/crypto/buffer/buffer.c:1.1.1.5.4.1 Sat Apr 21 15:52:54 2012 +++ src/crypto/dist/openssl/crypto/buffer/buffer.c Sat May 19 16:28:15 2012 @@ -156,7 +156,7 @@ int BUF_MEM_grow_clean(BUF_MEM *str, siz /* 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;