Skip to content

Commit

Permalink
fix pr test
Browse files Browse the repository at this point in the history
  • Loading branch information
miyazakh committed Aug 4, 2024
1 parent 3fdacee commit 1adf04a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
6 changes: 3 additions & 3 deletions examples/client/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1222,8 +1222,8 @@ static const char* client_usage_msg[][78] = {
"-W <num> Use OCSP Stapling (1 v1, 2 v2, 3 v2 multi)\n", /* 41 */
" With 'm' at end indicates MUST staple\n", /* 42 */
#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_TLS_OCSP_MULTI)
" -W 1 tls13 multi. Perform multi OCSP stapling when"
" using TLS13\n", /* 43 */
" -W 1 -v 4, Perform multi OCSP stapling for TLS13\n",
/* 43 */
#endif
#endif
#if defined(ATOMIC_USER) && !defined(WOLFSSL_AEAD_ONLY)
Expand Down Expand Up @@ -1454,7 +1454,7 @@ static const char* client_usage_msg[][78] = {
" (1 v1, 2 v2, 3 v2 multi)\n", /* 41 */
" 'm' を最後に指定すると必ず staple を使用する\n" /* 42 */
#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_TLS_OCSP_MULTI)
" -W 1 tls13 multi. "
" -W 1 -v 4, "
"TLS13 使用時に複数(Multi)の OCSP を実施します\n" /* 43 */
#endif
#endif
Expand Down
2 changes: 1 addition & 1 deletion scripts/ocsp-stapling.test
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi
if ./examples/client/client -? 2>&1 | grep -q 'DTLSv1.3'; then
dtls13=yes
fi
./examples/client/client '-?' 2>&1 | grep -- 'tls13 multi'
./examples/client/client '-?' 2>&1 | grep -- 'Perform multi OCSP stapling for TLS13'
if [ $? -eq 0 ]; then
tls13multi=yes
else
Expand Down
8 changes: 0 additions & 8 deletions scripts/ocsp-stapling_tls13multi.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@

SCRIPT_DIR="$(dirname "$0")"

./examples/client/client -? 2>&1 | grep -- 'tls13 multi'
if [ $? -eq 0 ]; then
echo "Ocsp stapling multi under TLS13 will run"
else
echo "Ocsp stapling multi under TLS13 won't run"
exit 77
fi

# if we can, isolate the network namespace to eliminate port collisions.
if [[ -n "$NETWORK_UNSHARE_HELPER" ]]; then
if [[ -z "$NETWORK_UNSHARE_HELPER_CALLED" ]]; then
Expand Down

0 comments on commit 1adf04a

Please sign in to comment.