mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-08 13:03:39 +00:00
Fix printing large packets in ssl_server2
This commit is contained in:
parent
b46e6adb9c
commit
0669f272e9
@ -1506,7 +1506,8 @@ reset:
|
|||||||
|
|
||||||
larger_buf[ori_len + extra_len] = '\0';
|
larger_buf[ori_len + extra_len] = '\0';
|
||||||
printf( " %u bytes read (%u + %u)\n\n%s\n",
|
printf( " %u bytes read (%u + %u)\n\n%s\n",
|
||||||
ori_len + extra_len, ori_len, extra_len, (char *) buf );
|
ori_len + extra_len, ori_len, extra_len,
|
||||||
|
(char *) larger_buf );
|
||||||
|
|
||||||
polarssl_free( larger_buf );
|
polarssl_free( larger_buf );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user