From 07ea3cd3ea23608ad5dfea008674d89e03cb1d33 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 26 Aug 2016 21:48:24 +0800 Subject: OpenSSL 1.1.0 support (#2826) * make pre5 work * add a blank line to make the diff happier * 1.1.0-pre6 working * support the changes since 1.1.0-pre6 * fixes * add 1.1.0 to travis * expose the symbol * better testing for numericstring * handle libre... * actually use the 1.1.0 we compile * cache the ossl-110 dir on travis * add some newlines * changelog entry for 1.1.0 support * note that we test on 1.1.0 * proper skip on this test * reorder --- .travis/install.sh | 7 ++++++- .travis/run.sh | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to '.travis') diff --git a/.travis/install.sh b/.travis/install.sh index b8ff31ad..5c09b258 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -63,6 +63,10 @@ else OPENSSL_VERSION_NUMBER="1.0.0t" OPENSSL_DIR="ossl-100t" fi + if [[ "${OPENSSL}" == "1.1.0" ]]; then + OPENSSL_VERSION_NUMBER="1.1.0" + OPENSSL_DIR="ossl-110" + fi # download, compile, and install if it's not already present via travis # cache if [ -n "$OPENSSL_DIR" ]; then @@ -72,7 +76,8 @@ else cd openssl-$OPENSSL_VERSION_NUMBER ./config shared no-asm no-ssl2 -fPIC --prefix="$HOME/$OPENSSL_DIR" # modify the shlib version to a unique one to make sure the dynamic - # linker doesn't load the system one. + # linker doesn't load the system one. This isn't required for 1.1.0 at the + # moment since our Travis builders have a diff shlib version, but it doesn't hurt sed -i "s/^SHLIB_MAJOR=.*/SHLIB_MAJOR=100/" Makefile sed -i "s/^SHLIB_MINOR=.*/SHLIB_MINOR=0.0/" Makefile sed -i "s/^SHLIB_VERSION_NUMBER=.*/SHLIB_VERSION_NUMBER=100.0.0/" Makefile diff --git a/.travis/run.sh b/.travis/run.sh index 5c8b53f9..22beba06 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -29,6 +29,9 @@ else if [[ "${OPENSSL}" == "1.0.0" ]]; then OPENSSL_DIR="ossl-100t" fi + if [[ "${OPENSSL}" == "1.1.0" ]]; then + OPENSSL_DIR="ossl-110" + fi if [ -n "$OPENSSL_DIR" ]; then export PATH="$HOME/$OPENSSL_DIR/bin:$PATH" -- cgit v1.2.3