Initialize output chunk before appending data to it
This commit is contained in:
@@ -176,6 +176,7 @@ METHOD(tls_t, build, status_t,
|
|||||||
tls_record_t record;
|
tls_record_t record;
|
||||||
status_t status;
|
status_t status;
|
||||||
|
|
||||||
|
*data = chunk_empty;
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
{
|
{
|
||||||
tls_content_type_t type;
|
tls_content_type_t type;
|
||||||
|
|||||||
Reference in New Issue
Block a user