diff options
author | Kyungwook Tak <k.tak@samsung.com> | 2016-07-28 11:44:38 +0900 |
---|---|---|
committer | kyungwook tak <k.tak@samsung.com> | 2016-08-04 02:15:02 -0700 |
commit | 02d3051dde563e215bb312a8bae5dcfc9a46f7c2 (patch) | |
tree | 33d2d21a339b7f253ea9d8fc03114853614f3d9c /test/testssl | |
parent | 0d4d30d99b8d7e840e8ae6131f71439eb379a748 (diff) | |
parent | e541e124ee3ee2657cc49f107c74f6882029f74c (diff) | |
download | openssl-02d3051dde563e215bb312a8bae5dcfc9a46f7c2.tar.gz openssl-02d3051dde563e215bb312a8bae5dcfc9a46f7c2.tar.bz2 openssl-02d3051dde563e215bb312a8bae5dcfc9a46f7c2.zip |
Upgrade upstream version to 1.0.2hsubmit/tizen_base/20160816.064446accepted/tizen/base/20160819.170101
no-ssl2-method option added for not adding any symbol
compare with previous version(1.0.2g) because they're already removed
Change-Id: I89185548c0a04748d93ffcd3740f940e99fefb24
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Diffstat (limited to 'test/testssl')
-rw-r--r-- | test/testssl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/testssl b/test/testssl index 747e4ba..a6f9fa7 100644 --- a/test/testssl +++ b/test/testssl @@ -236,6 +236,17 @@ $ssltest -bio_pair -tls1 -serverinfo_file $serverinfo -serverinfo_tack || exit 1 $ssltest -bio_pair -tls1 -serverinfo_file $serverinfo -serverinfo_sct -serverinfo_tack || exit 1 $ssltest -bio_pair -tls1 -custom_ext -serverinfo_file $serverinfo -serverinfo_sct -serverinfo_tack || exit 1 +############################################################################# +# SNI tests + +$ssltest -bio_pair -sn_client foo || exit 1 +$ssltest -bio_pair -sn_server1 foo || exit 1 +$ssltest -bio_pair -sn_client foo -sn_server1 foo -sn_expect1 || exit 1 +$ssltest -bio_pair -sn_client foo -sn_server1 bar -sn_expect1 || exit 1 +$ssltest -bio_pair -sn_client foo -sn_server1 foo -sn_server2 bar -sn_expect1 || exit 1 +$ssltest -bio_pair -sn_client bar -sn_server1 foo -sn_server2 bar -sn_expect2 || exit 1 +# Negative test - make sure it doesn't crash, and doesn't switch contexts +$ssltest -bio_pair -sn_client foobar -sn_server1 foo -sn_server2 bar -sn_expect1 || exit 1 ############################################################################# # ALPN tests @@ -249,6 +260,14 @@ $ssltest -bio_pair -tls1 -alpn_client bar,foo -alpn_server bar,foo -alpn_expecte $ssltest -bio_pair -tls1 -alpn_client foo,bar -alpn_server bar,foo -alpn_expected bar || exit 1 $ssltest -bio_pair -tls1 -alpn_client baz -alpn_server bar,foo || exit 1 + +############################################################################# +# ALPN + SNI + +$ssltest -bio_pair -alpn_client foo,bar -sn_client alice -alpn_server1 foo,123 -sn_server1 alice -alpn_server2 bar,456 -sn_server2 bob -alpn_expected foo || exit 1 +$ssltest -bio_pair -alpn_client foo,bar -sn_client bob -alpn_server1 foo,123 -sn_server1 alice -alpn_server2 bar,456 -sn_server2 bob -alpn_expected bar || exit 1 +$ssltest -bio_pair -alpn_client foo,bar -sn_client bob -sn_server1 alice -alpn_server2 bar,456 -sn_server2 bob -alpn_expected bar || exit 1 + if ../util/shlib_wrap.sh ../apps/openssl no-srp; then echo skipping SRP tests else |