diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-04-22 13:31:19 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-04-22 13:31:19 +0000 |
commit | 51b77c0337bd22ce391f339bd376788dc4e9a4ad (patch) | |
tree | 9df936bfbc43ef925efab5b5e9572feab750d0f9 | |
parent | 85d179d4eb246f1c1da6b6db07d3aca03b4c08df (diff) |
correct error code
-rw-r--r-- | crypto/buffer/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/buffer/buffer.c b/crypto/buffer/buffer.c index 52e65dfdfc..d7aa79ad7f 100644 --- a/crypto/buffer/buffer.c +++ b/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; |