mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
examples/client/client.c: fix client_usage_msg undersized array dimension.
This commit is contained in:
@ -1103,7 +1103,7 @@ static int ClientWriteRead(WOLFSSL* ssl, const char* msg, int msgSz,
|
|||||||
/* 4. add the same message into Japanese section */
|
/* 4. add the same message into Japanese section */
|
||||||
/* (will be translated later) */
|
/* (will be translated later) */
|
||||||
/* 5. add printf() into suitable position of Usage() */
|
/* 5. add printf() into suitable position of Usage() */
|
||||||
static const char* client_usage_msg[][70] = {
|
static const char* client_usage_msg[][75] = {
|
||||||
/* English */
|
/* English */
|
||||||
{
|
{
|
||||||
" NOTE: All files relative to wolfSSL home dir\n", /* 0 */
|
" NOTE: All files relative to wolfSSL home dir\n", /* 0 */
|
||||||
@ -1188,7 +1188,7 @@ static const char* client_usage_msg[][70] = {
|
|||||||
" string 'scr-app-data' is passed in as the value and\n"
|
" string 'scr-app-data' is passed in as the value and\n"
|
||||||
" Non-blocking sockets are enabled ('-N') then wolfSSL\n"
|
" Non-blocking sockets are enabled ('-N') then wolfSSL\n"
|
||||||
" sends a test message during the secure renegotiation.\n"
|
" sends a test message during the secure renegotiation.\n"
|
||||||
" The string parameter is optional.\n", /* 29 */
|
" The string parameter is optional.\n", /* 29 */
|
||||||
#endif
|
#endif
|
||||||
"-f Fewer packets/group messages\n", /* 30 */
|
"-f Fewer packets/group messages\n", /* 30 */
|
||||||
#ifndef NO_CERTS
|
#ifndef NO_CERTS
|
||||||
|
Reference in New Issue
Block a user