diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-07-16 07:55:31 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-07-16 07:55:34 +0200 |
commit | cd91840c564751924837ccdc9648d9a83a0b7601 (patch) | |
tree | 585d80e1a4dccbc8bdb54501c28bbe8ab8cfbaf1 | |
parent | a71be96e4695cd8827f9cfdd91a9e8418406a946 (diff) | |
download | gnutls-cd91840c564751924837ccdc9648d9a83a0b7601.tar.gz |
testcompat: refuse run with openssl 1.1.0gnutls_3_3_30
They are not compatible.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rwxr-xr-x | tests/suite/testcompat-main | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/suite/testcompat-main b/tests/suite/testcompat-main index 735658279b..7aa261e046 100755 --- a/tests/suite/testcompat-main +++ b/tests/suite/testcompat-main @@ -49,7 +49,14 @@ SERV=openssl OPENSSL_CLI="$SERV" echo "Compatibility checks using "`${SERV} version` -${SERV} version|grep -e '1\.[0-9]\..' >/dev/null 2>&1 +${SERV} version|grep -e '1\.0\..' >/dev/null 2>&1 +SV=$? +if test ${SV} != 0; then + echo "OpenSSL 1.0.0 is required for ECDH and DTLS tests" + exit 77 +fi + +${SERV} version|grep -e '1\.[1-9]\..' >/dev/null 2>&1 SV=$? if test ${SV} != 0; then echo "OpenSSL 1.0.0 is required for ECDH and DTLS tests" |