File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -388,19 +388,8 @@ else
388388 echo ' skipping TLS1.3 stapling tests.' 1>&2
389389fi
390390
391- printf ' %s\n\n' " ------------- TEST CASE 1 SHOULD PASS ------------------------"
392- # client test against our own server - GOOD CERT
393- ./examples/server/server -c certs/ocsp/server1-cert.pem -R " $ready_file2 " \
394- -k certs/ocsp/server1-key.pem -p $port3 &
395- wolf_pid3=$!
396- wait_for_readyFile " $ready_file2 " $wolf_pid3 $port3
397- ./examples/client/client -C -A certs/ocsp/root-ca-cert.pem -W 1 -p $port3
398- RESULT=$?
399- [ $RESULT -ne 0 ] && printf ' \n\n%s\n' " Client connection 1 failed" && exit 1
400- printf ' %s\n\n' " Test PASSED!"
401-
402391# DTLS 1.2 and 1.3 cases
403- if ./examples/client/client -? 2>&1 | grep -q ' DTLS ' ; then
392+ if ./examples/client/client -? 2>&1 | grep -q ' DTLSv1.2 ' ; then
404393 printf ' %s\n\n' " ------------- TEST CASE DTLS-1 SHOULD PASS -------------------"
405394 # client test against our own server, must staple - GOOD CERT
406395 echo $ready_file2
@@ -415,7 +404,9 @@ if ./examples/client/client -? 2>&1 | grep -q 'DTLS'; then
415404 RESULT=$?
416405 [ $RESULT -ne 0 ] && printf ' \n\n%s\n' " Client connection 5 failed" && exit 1
417406 printf ' %s\n\n' " Test PASSED!"
407+ fi
418408
409+ if ./examples/client/client -? 2>&1 | grep -q ' DTLSv1.3' ; then
419410 printf ' %s\n\n' " ------------- TEST CASE DTLS-2 SHOULD PASS -------------------"
420411 # client test against our own server, must staple - GOOD CERT
421412 ./examples/server/server -c certs/ocsp/server1-cert.pem -R " $ready_file2 " \
You can’t perform that action at this time.
0 commit comments