summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2021-04-24 00:10:44 +0000
committerKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2021-04-24 00:10:44 +0000
commit32cd764fad296c73c38f27c065b81357651b1df1 (patch)
tree76ce57be649a78051f67f7ef17949aef56e95b74 /regress
parent1d8e982c5763929b1f13daa2a7f628f37ebce27d (diff)
Remove "-4" option treatment and use it always on s_server test in appstest.sh
Diffstat (limited to 'regress')
-rwxr-xr-xregress/usr.bin/openssl/appstest.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/regress/usr.bin/openssl/appstest.sh b/regress/usr.bin/openssl/appstest.sh
index 1cc8bacfb1d..c4a0bf50ccd 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.47 2021/02/26 15:15:40 tb Exp $
+# $OpenBSD: appstest.sh,v 1.48 2021/04/24 00:10:43 inoguchi Exp $
#
# Copyright (c) 2016 Kinichiro Inoguchi <inoguchi@openbsd.org>
#
@@ -1721,18 +1721,11 @@ function test_server_client {
pwd=$sv_rsa_pass
fi
- $s_bin version | grep 'OpenSSL 1.1.1' > /dev/null
- if [ $? -eq 0 ] ; then
- extra_opts="-4"
- else
- extra_opts=""
- fi
-
start_message "s_server ... start TLS/SSL test server"
$s_bin s_server -accept $port -CAfile $ca_cert \
-cert $crt -key $key -pass pass:$pwd \
-context "appstest.sh" -id_prefix "APPSTEST.SH" -crl_check \
- -alpn "http/1.1,spdy/3" -www -cipher ALL $extra_opts \
+ -alpn "http/1.1,spdy/3" -www -cipher ALL -4 \
-msg -tlsextdebug -verify 3 -groups X25519:P-384:P-256 \
-status -servername xyz -cert2 $crt -key2 $key \
> $s_server_out 2>&1 &