summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-02-05 18:36:08 +0000
committertb <>2022-02-05 18:36:08 +0000
commit2f50b87e931ca089558153a43823e377e2a261ea (patch)
treea3c6cdaba98b3ee8ae25dc27a976f8bcd174b330
parent28b1970bee19f8f767c738fb89dbe3ae1e5fe05f (diff)
downloadopenbsd-2f50b87e931ca089558153a43823e377e2a261ea.tar.gz
openbsd-2f50b87e931ca089558153a43823e377e2a261ea.tar.bz2
openbsd-2f50b87e931ca089558153a43823e377e2a261ea.zip
Adapt appstest.sh for the new TLS_ names.
-rwxr-xr-xsrc/regress/usr.bin/openssl/appstest.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/regress/usr.bin/openssl/appstest.sh b/src/regress/usr.bin/openssl/appstest.sh
index 3d4562a16a..d708ae28b5 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.53 2021/10/25 07:17:14 tb Exp $ 3# $OpenBSD: appstest.sh,v 1.54 2022/02/05 18:36:08 tb Exp $
4# 4#
5# Copyright (c) 2016 Kinichiro Inoguchi <inoguchi@openbsd.org> 5# Copyright (c) 2016 Kinichiro Inoguchi <inoguchi@openbsd.org>
6# 6#
@@ -1538,14 +1538,10 @@ function test_sc_all_cipher {
1538 ciphers=$user1_dir/ciphers_${sc}_${ver} 1538 ciphers=$user1_dir/ciphers_${sc}_${ver}
1539 1539
1540 if [ $ver = "tls1_3" ] ; then 1540 if [ $ver = "tls1_3" ] ; then
1541 if [ $c_id = "0" ] ; then 1541 echo "TLS_AES_256_GCM_SHA384" > $ciphers
1542 echo "AEAD-AES256-GCM-SHA384" > $ciphers 1542 echo "TLS_CHACHA20_POLY1305_SHA256" >> $ciphers
1543 echo "AEAD-CHACHA20-POLY1305-SHA256" >> $ciphers 1543 echo "TLS_AES_128_GCM_SHA256" >> $ciphers
1544 echo "AEAD-AES128-GCM-SHA256" >> $ciphers 1544 if [ $c_id != "0" ] ; then
1545 else
1546 echo "TLS_AES_256_GCM_SHA384" > $ciphers
1547 echo "TLS_CHACHA20_POLY1305_SHA256" >> $ciphers
1548 echo "TLS_AES_128_GCM_SHA256" >> $ciphers
1549 copt=ciphersuites 1545 copt=ciphersuites
1550 fi 1546 fi
1551 else 1547 else