commit | 39a60de410f075081491c610781692d8bbae3c28 | [log] [tgz] |
---|---|---|
author | Robert Cragie <Robert.Cragie@arm.com> | Fri Oct 02 13:57:59 2015 +0100 |
committer | Robert Cragie <Robert.Cragie@arm.com> | Fri Oct 02 13:57:59 2015 +0100 |
tree | 65ed78f3c78ab4080bdecb8cad6621c57b100331 | |
parent | 136884c29b3148f9eeb24e744069ade60755aa99 [diff] [blame] |
Correct overwritten fixes
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index f2e7ae7..82f8d83 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -287,7 +287,7 @@ { int ret; unsigned char *p = buf; - const unsigned char *end = ssl->out_buf + MBEDTLS_SSL_MAX_CONTENT_LEN; + const unsigned char *end = ssl->out_msg + MBEDTLS_SSL_MAX_CONTENT_LEN; size_t kkpp_len; *olen = 0;