summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2020-05-19 13:50:10 +0000
committerKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2020-05-19 13:50:10 +0000
commit7e1b721790c8c25923c8c2b53f9255e4f1c0401e (patch)
tree520fc931688288ea2947300eed7cfba9cf785559 /regress
parent23050abba9af8ea85eb931b6b6608280278e24d4 (diff)
Add -status and -servername test for s_server and s_client in appstest.sh
Diffstat (limited to 'regress')
-rwxr-xr-xregress/usr.bin/openssl/appstest.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/usr.bin/openssl/appstest.sh b/regress/usr.bin/openssl/appstest.sh
index b780c27e901..e4d2e2c5afd 100755
--- a/regress/usr.bin/openssl/appstest.sh
+++ b/regress/usr.bin/openssl/appstest.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: appstest.sh,v 1.43 2020/05/19 12:08:39 inoguchi Exp $
+# $OpenBSD: appstest.sh,v 1.44 2020/05/19 13:50:09 inoguchi Exp $
#
# Copyright (c) 2016 Kinichiro Inoguchi <inoguchi@openbsd.org>
#
@@ -1605,6 +1605,7 @@ function test_sc_verify {
sleep $test_pause_sec
$c_bin s_client -connect $host:$port -CAfile $ca_cert \
-$ver -showcerts -crl_check -issuer_checks -policy_check \
+ -status -servername xyz \
-msg -tlsextdebug < /dev/null > $s_client_out 2>&1
check_exit_status $?
@@ -1707,6 +1708,7 @@ function test_server_client {
-context "appstest.sh" -id_prefix "APPSTEST.SH" -crl_check \
-alpn "http/1.1,spdy/3" -www -cipher ALL $extra_opts \
-msg -tlsextdebug -verify 3 -groups X25519:P-384:P-256 \
+ -status -servername xyz -cert2 $crt -key2 $key \
> $s_server_out 2>&1 &
check_exit_status $?
s_server_pid=$!