summaryrefslogtreecommitdiff
path: root/test/features
diff options
context:
space:
mode:
authorJames E. King III <jking@apache.org>2018-06-08 03:37:55 +0000
committerJames E. King III <jking@apache.org>2018-06-16 19:16:04 +0000
commitf5f430df56871bc937950274b2c86681d3db6e59 (patch)
treea9f6f1258ea16a51915dd18799af3230d36d1630 /test/features
parentb5471f63cb4bb8e3b00835a9ca9e48ff76a3bb51 (diff)
downloadthrift-f5f430df56871bc937950274b2c86681d3db6e59.tar.gz
THRIFT-4579: Move up to Ubuntu Bionic for CI builds
make dlang library compatible with openssl-1.1 for Ubuntu Bionic Requires an upstream deimos update to be compatible.
Diffstat (limited to 'test/features')
-rwxr-xr-xtest/features/nosslv3.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/features/nosslv3.sh b/test/features/nosslv3.sh
index e550d511c..38cca0786 100755
--- a/test/features/nosslv3.sh
+++ b/test/features/nosslv3.sh
@@ -32,6 +32,13 @@ function nosslv3
{
local nego
local negodenied
+ local opensslv
+
+ opensslv=$(openssl version | cut -d' ' -f2)
+ if [[ $opensslv > "1.0" ]]; then
+ echo "[pass] OpenSSL 1.1 or later - no need to check ssl3"
+ return 0
+ fi
# echo "openssl s_client -connect $THRIFTHOST:$THRIFTPORT -CAfile ../keys/CA.pem -ssl3 2>&1 < /dev/null"
nego=$(openssl s_client -connect $THRIFTHOST:$THRIFTPORT -CAfile ../keys/CA.pem -ssl3 2>&1 < /dev/null)