Commit 1883590c authored by Steven Fackler's avatar Steven Fackler
Browse files

Correct feature selection in tests

parent b610e017
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -17,9 +17,10 @@ rfc5114 = []
aes_xts = []
aes_ctr = []
alpn = []
ecdh_auto = []
openssl-102 = []

ecdh_auto = []
openssl-110 = ["openssl-102"]

[dependencies]
bitflags = "0.7"
+10 −3
Original line number Diff line number Diff line
#!/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