Don't send null byte

This commit is contained in:
Juliusz Sosinowicz
2020-09-16 14:02:51 +02:00
parent a65ffe15bc
commit 04b4ef3e3b

View File

@ -3097,7 +3097,7 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
err == WOLFSSL_ERROR_WANT_WRITE) {
(void)ClientWrite(ssl,
"msg sent during renegotiation",
sizeof("msg sent during renegotiation"),
sizeof("msg sent during renegotiation") - 1,
"", 1);
do {
if (err == APP_DATA_READY) {