Gilles Peskine 8bb96d96cd Fix buffer size calculation
Make sure that buf always has enough room for what it will contain. Before,
this was not the case if the buffer was smaller than the default response,
leading to memory corruption in ssl_server2.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-04-06 23:31:05 +02:00
..
2021-10-25 13:16:04 +01:00
2021-12-09 17:25:04 +00:00
2022-04-06 23:31:05 +02:00