mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #5266 from rizlik/udp_help
examples: update usage() with DTLSv1.3 versionpull/5290/head
commit
e2ad62b3d1
|
@ -1166,7 +1166,12 @@ static const char* client_usage_msg[][70] = {
|
|||
"-e List Every cipher suite available, \n", /* 19 */
|
||||
"-g Send server HTTP GET\n", /* 20 */
|
||||
"-u Use UDP DTLS,"
|
||||
#ifndef WOLFSSL_DTLS13
|
||||
" add -v 2 for DTLSv1, -v 3 for DTLSv1.2 (default)\n", /* 21 */
|
||||
#else
|
||||
" add -v 2 for DTLSv1, -v 3 for DTLSv1.2 (default), -v 4 for "
|
||||
"DTLSv1.3\n", /* 21 */
|
||||
#endif /* !WOLFSSL_DTLS13 */
|
||||
#ifdef WOLFSSL_SCTP
|
||||
"-G Use SCTP DTLS,"
|
||||
" add -v 2 for DTLSv1, -v 3 for DTLSv1.2 (default)\n", /* 22 */
|
||||
|
|
|
@ -829,7 +829,12 @@ static const char* server_usage_msg[][64] = {
|
|||
"-b Bind to any interface instead of localhost only\n",/* 13 */
|
||||
"-s Use pre Shared keys\n", /* 14 */
|
||||
"-u Use UDP DTLS,"
|
||||
" add -v 2 for DTLSv1, -v 3 for DTLSv1.2 (default)\n", /* 15 */
|
||||
#ifndef WOLFSSL_DTLS13
|
||||
" add -v 2 for DTLSv1, -v 3 for DTLSv1.2 (default)\n", /* 21 */
|
||||
#else
|
||||
" add -v 2 for DTLSv1, -v 3 for DTLSv1.2 (default), -v 4 for "
|
||||
"DTLSv1.3\n", /* 21 */
|
||||
#endif /* !WOLFSSL_DTLS13 */
|
||||
#ifdef WOLFSSL_SCTP
|
||||
"-G Use SCTP DTLS,"
|
||||
" add -v 2 for DTLSv1, -v 3 for DTLSv1.2 (default)\n", /* 16 */
|
||||
|
|
Loading…
Reference in New Issue