Use OpenSSL in compat.sh on Travis, except DTLS
Less heavy-handed than skipping all OpenSSL interop
diff --git a/tests/compat.sh b/tests/compat.sh
index 04641c0..541b550 100755
--- a/tests/compat.sh
+++ b/tests/compat.sh
@@ -6,7 +6,7 @@
# with and without client authentication.
#
# Peer version requirements:
-# - OpenSSL 1.0.1e 11 Feb 2013 (probably since 1.0.1, tested with 1.0.1e)
+# - OpenSSL 1.0.1e 11 Feb 2013 (probably NOT since 1.0.1, tested with 1.0.1e)
# - GnuTLS 3.2.15 (probably works since 3.2.12 but tested only with 3.2.15)
set -u
@@ -54,6 +54,10 @@
MEMCHECK=0
PEERS="OpenSSL$PEER_GNUTLS mbedTLS"
+# hidden option: skip DTLS with OpenSSL
+# (travis CI has a version that doesn't work for us)
+: ${OSSL_NO_DTLS:=0}
+
print_usage() {
echo "Usage: $0"
printf " -h|--help\tPrint this help.\n"
@@ -1122,6 +1126,10 @@
[Oo]pen*)
+ if test "$OSSL_NO_DTLS" -gt 0 && is_dtls "$MODE"; then
+ continue;
+ fi
+
reset_ciphersuites
add_common_ciphersuites
add_openssl_ciphersuites