summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinoguchi <>2020-05-19 13:50:09 +0000
committerinoguchi <>2020-05-19 13:50:09 +0000
commit301bb2dc3c4393a25056c7a1ec7b1d4a5efe6ea2 (patch)
treee38cd7565cabf29a6162a81b277a18714b944ed4
parentb5cc6d8e187a01ba86228b83989611da5e8f8471 (diff)
downloadopenbsd-301bb2dc3c4393a25056c7a1ec7b1d4a5efe6ea2.tar.gz
openbsd-301bb2dc3c4393a25056c7a1ec7b1d4a5efe6ea2.tar.bz2
openbsd-301bb2dc3c4393a25056c7a1ec7b1d4a5efe6ea2.zip
Add -status and -servername test for s_server and s_client in appstest.sh
-rwxr-xr-xsrc/regress/usr.bin/openssl/appstest.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/usr.bin/openssl/appstest.sh b/src/regress/usr.bin/openssl/appstest.sh
index b780c27e90..e4d2e2c5af 100755
--- a/src/regress/usr.bin/openssl/appstest.sh
+++ b/src/regress/usr.bin/openssl/appstest.sh
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2# 2#
3# $OpenBSD: appstest.sh,v 1.43 2020/05/19 12:08:39 inoguchi Exp $ 3# $OpenBSD: appstest.sh,v 1.44 2020/05/19 13:50:09 inoguchi Exp $
4# 4#
5# Copyright (c) 2016 Kinichiro Inoguchi <inoguchi@openbsd.org> 5# Copyright (c) 2016 Kinichiro Inoguchi <inoguchi@openbsd.org>
6# 6#
@@ -1605,6 +1605,7 @@ function test_sc_verify {
1605 sleep $test_pause_sec 1605 sleep $test_pause_sec
1606 $c_bin s_client -connect $host:$port -CAfile $ca_cert \ 1606 $c_bin s_client -connect $host:$port -CAfile $ca_cert \
1607 -$ver -showcerts -crl_check -issuer_checks -policy_check \ 1607 -$ver -showcerts -crl_check -issuer_checks -policy_check \
1608 -status -servername xyz \
1608 -msg -tlsextdebug < /dev/null > $s_client_out 2>&1 1609 -msg -tlsextdebug < /dev/null > $s_client_out 2>&1
1609 check_exit_status $? 1610 check_exit_status $?
1610 1611
@@ -1707,6 +1708,7 @@ function test_server_client {
1707 -context "appstest.sh" -id_prefix "APPSTEST.SH" -crl_check \ 1708 -context "appstest.sh" -id_prefix "APPSTEST.SH" -crl_check \
1708 -alpn "http/1.1,spdy/3" -www -cipher ALL $extra_opts \ 1709 -alpn "http/1.1,spdy/3" -www -cipher ALL $extra_opts \
1709 -msg -tlsextdebug -verify 3 -groups X25519:P-384:P-256 \ 1710 -msg -tlsextdebug -verify 3 -groups X25519:P-384:P-256 \
1711 -status -servername xyz -cert2 $crt -key2 $key \
1710 > $s_server_out 2>&1 & 1712 > $s_server_out 2>&1 &
1711 check_exit_status $? 1713 check_exit_status $?
1712 s_server_pid=$! 1714 s_server_pid=$!