diff --git a/tests/check/filterstruct.t.c b/tests/check/filterstruct.t.c index 5510613..9ec254c 100644 --- a/tests/check/filterstruct.t.c +++ b/tests/check/filterstruct.t.c @@ -49,7 +49,7 @@ #if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20702000L) #define SSL_PROTO_CONFIG ">=tls10<="MAX_SSL_PROTO #define SSL_PROTO_CONFIG_FILTERRULE MAX_SSL_PROTO" -"MAX_SSL_PROTO">=tls10<=tls11|no_"MAX_SSL_PROTO -#elif (OPENSSL_VERSION_NUMBER < 0x10000000L) +#elif (OPENSSL_VERSION_NUMBER <= 0x1000013fL) #define SSL_PROTO_CONFIG "" #define SSL_PROTO_CONFIG_FILTERRULE "tls10" #else diff --git a/tests/check/opts.t.c b/tests/check/opts.t.c index 614b754..13f3d44 100644 --- a/tests/check/opts.t.c +++ b/tests/check/opts.t.c @@ -105,6 +105,9 @@ static char *argv14[] = { #elif (OPENSSL_VERSION_NUMBER < 0x10000000L) #define SSL_PROTO_CONFIG_PROXYSPEC "tls10 -tls10|no_tls10" #define SSL_PROTO_CONFIG_FILTERRULE "tls10" +#elif (OPENSSL_VERSION_NUMBER <= 0x1000013fL) +#define SSL_PROTO_CONFIG_PROXYSPEC "tls10 -tls10|no sslcomp|no_tls10" +#define SSL_PROTO_CONFIG_FILTERRULE "tls10" #elif (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20702000L) #define SSL_PROTO_CONFIG_PROXYSPEC "tls12 -tls10>=tls11<=tls12|no sslcomp|no_tls10" #define SSL_PROTO_CONFIG_FILTERRULE "tls12>=tls10<=tls11"