Fix printing large packets in ssl_server2
This commit is contained in:
parent
b46e6adb9c
commit
0669f272e9
1 changed files with 2 additions and 1 deletions
|
@ -1506,7 +1506,8 @@ reset:
|
|||
|
||||
larger_buf[ori_len + extra_len] = '\0';
|
||||
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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue