diff options
| author | Steven Fackler <[email protected]> | 2016-10-13 19:21:12 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-10-13 19:21:12 -0700 |
| commit | 1883590c61e912a627e3c02542d9a2d0b4019d24 (patch) | |
| tree | 372b07bcd71b0a216c507ca23c4477fbf060e42b /openssl/test/run.sh | |
| parent | Flag off dtls and mask ssl_ops (diff) | |
| download | rust-openssl-1883590c61e912a627e3c02542d9a2d0b4019d24.tar.xz rust-openssl-1883590c61e912a627e3c02542d9a2d0b4019d24.zip | |
Correct feature selection in tests
Diffstat (limited to 'openssl/test/run.sh')
| -rwxr-xr-x | openssl/test/run.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/openssl/test/run.sh b/openssl/test/run.sh index cecf3c52..cc4756bf 100755 --- a/openssl/test/run.sh +++ b/openssl/test/run.sh @@ -1,9 +1,16 @@ #!/bin/bash set -e -if [ "$BUILD_OPENSSL_VERSION" != "" ]; then - FEATURES="aes_xts aes_ctr alpn rfc5114 ecdh_auto openssl-102" -fi +case "$BUILD_OPENSSL_VERSION" in + 1.0.2*) + FEATURES="openssl-102" + ;; + 1.1.0*) + FEATURES="openssl-110" + ;; +esac + +echo Using features: $FEATURES if [ -d "$HOME/openssl/lib" ]; then export OPENSSL_DIR=$HOME/openssl |