From 04b4ef3e3b5b5632b4034226d059509589f50462 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Wed, 16 Sep 2020 14:02:51 +0200 Subject: [PATCH] Don't send null byte --- examples/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client/client.c b/examples/client/client.c index b8c37b110..057700197 100644 --- a/examples/client/client.c +++ b/examples/client/client.c @@ -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) {