The openssl version on travis doesn't have gost openssl engine support. Download from source, rebuild and install local version. Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> --- .travis.yml | 7 +++++++ tests/install-gost-engine.sh | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100755 tests/install-gost-engine.sh diff --git a/.travis.yml b/.travis.yml index 11a827c02f0a..f5fb2c1da448 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,13 @@ matrix: include: - env: TSS=ibmtss - env: TSS=tpm2-tss + +before_install: + - if [ "${SSL}" = "openssl" ]; then + ./tests/install-gost-engine.sh; + openssl version; + fi + install: - if [ "${TSS}" = "tpm2-tss" ]; then sudo apt-get install lcov pandoc autoconf-archive liburiparser-dev; diff --git a/tests/install-gost-engine.sh b/tests/install-gost-engine.sh new file mode 100755 index 000000000000..01bcf2c3bc21 --- /dev/null +++ b/tests/install-gost-engine.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +openssl version + +git clone https://github.com/gost-engine/engine.git +cd engine +#cmake -DOPENSSL_INCLUDE_DIR=/usr/local/include/openssl -DOPENSSL_SSL_LIBRARY=/usr/local/lib64/libss.so -DOPENSSL_CRYPTO_LIBRARY=/usr/local/lib64/libcrypto.so -DOPENSSL_ENGINES_DIR=/usr/local/lib64/engines-1.1 . +cmake . +sudo make install +cd .. -- 2.18.4