From bc975397563a766cf8c4ff122e2ab98942393bf2 Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 12 Oct 2021 15:13:38 -0700 Subject: [PATCH] Increase the size of the temp buffer for starttls. Some SMTP servers send larger messages. --- 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 f27f64f96..9aac7cc2f 100644 --- a/examples/client/client.c +++ b/examples/client/client.c @@ -895,7 +895,7 @@ const char* starttlsCmd[6] = { /* Initiates the STARTTLS command sequence over TCP */ static int StartTLS_Init(SOCKET_T* sockfd) { - char tmpBuf[256]; + char tmpBuf[512]; if (sockfd == NULL) return BAD_FUNC_ARG;