summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/ssl/testssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libssl/ssl/testssl')
-rw-r--r--src/regress/lib/libssl/ssl/testssl19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/ssl/testssl b/src/regress/lib/libssl/ssl/testssl
index a8ecab263e..379ddfcc50 100644
--- a/src/regress/lib/libssl/ssl/testssl
+++ b/src/regress/lib/libssl/ssl/testssl
@@ -155,3 +155,22 @@ $ssltest -bio_pair -tls1 -npn_client -npn_server_reject || exit 1
155$ssltest -bio_pair -tls1 -npn_client -npn_server || exit 1 155$ssltest -bio_pair -tls1 -npn_client -npn_server || exit 1
156$ssltest -bio_pair -tls1 -npn_client -npn_server -num 2 || exit 1 156$ssltest -bio_pair -tls1 -npn_client -npn_server -num 2 || exit 1
157$ssltest -bio_pair -tls1 -npn_client -npn_server -num 2 -reuse || exit 1 157$ssltest -bio_pair -tls1 -npn_client -npn_server -num 2 -reuse || exit 1
158
159#
160# ALPN tests
161#
162echo "Testing ALPN..."
163$ssltest -bio_pair -tls1 -alpn_client foo -alpn_server bar || exit 1
164$ssltest -bio_pair -tls1 -alpn_client foo -alpn_server foo \
165 -alpn_expected foo || exit 1
166$ssltest -bio_pair -tls1 -alpn_client foo,bar -alpn_server foo \
167 -alpn_expected foo || exit 1
168$ssltest -bio_pair -tls1 -alpn_client bar,foo -alpn_server foo \
169 -alpn_expected foo || exit 1
170$ssltest -bio_pair -tls1 -alpn_client bar,foo -alpn_server foo,bar \
171 -alpn_expected foo || exit 1
172$ssltest -bio_pair -tls1 -alpn_client bar,foo -alpn_server bar,foo \
173 -alpn_expected bar || exit 1
174$ssltest -bio_pair -tls1 -alpn_client foo,bar -alpn_server bar,foo \
175 -alpn_expected bar || exit 1
176$ssltest -bio_pair -tls1 -alpn_client baz -alpn_server bar,foo || exit 1