Skip to content

Commit ff9fee7

Browse files
committed
examples/client/client.c: fix client_usage_msg undersized array dimension.
1 parent 64e48de commit ff9fee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/client/client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ static int ClientWriteRead(WOLFSSL* ssl, const char* msg, int msgSz,
11031103
/* 4. add the same message into Japanese section */
11041104
/* (will be translated later) */
11051105
/* 5. add printf() into suitable position of Usage() */
1106-
static const char* client_usage_msg[][70] = {
1106+
static const char* client_usage_msg[][75] = {
11071107
/* English */
11081108
{
11091109
" NOTE: All files relative to wolfSSL home dir\n", /* 0 */
@@ -1188,7 +1188,7 @@ static const char* client_usage_msg[][70] = {
11881188
" string 'scr-app-data' is passed in as the value and\n"
11891189
" Non-blocking sockets are enabled ('-N') then wolfSSL\n"
11901190
" sends a test message during the secure renegotiation.\n"
1191-
" The string parameter is optional.\n", /* 29 */
1191+
" The string parameter is optional.\n", /* 29 */
11921192
#endif
11931193
"-f Fewer packets/group messages\n", /* 30 */
11941194
#ifndef NO_CERTS

0 commit comments

Comments
 (0)