summaryrefslogtreecommitdiff
path: root/tests/suite/testcompat-main-openssl
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-11-06 20:25:39 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-11-06 20:25:39 +0100
commitf000c3fde768076b94f7c966eccf0695d2799d6f (patch)
tree93aa3473661b41f72507f6e1066c22a7d19fb942 /tests/suite/testcompat-main-openssl
parent7570b6caf9a8af8c52762e0c5f4323d4944fa20d (diff)
downloadgnutls-f000c3fde768076b94f7c966eccf0695d2799d6f.tar.gz
testcompat-openssl: disable SSL 3.0 as it is not supported on debian
Diffstat (limited to 'tests/suite/testcompat-main-openssl')
-rwxr-xr-xtests/suite/testcompat-main-openssl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/suite/testcompat-main-openssl b/tests/suite/testcompat-main-openssl
index 7ac9d4357f..645717e089 100755
--- a/tests/suite/testcompat-main-openssl
+++ b/tests/suite/testcompat-main-openssl
@@ -63,6 +63,10 @@ echo ""
echo "** Modifier: $ADD"
fi
+if test 0 = 1;then
+
+# It seems debian disabled SSL 3.0 completely on openssl
+
launch_bare_server $$ s_server -quiet -www -accept $PORT -keyform pem -certform pem -ssl3 -dhparam params.dh -key $RSA_KEY -cert $RSA_CERT -dkey $DSA_KEY -dcert $DSA_CERT -Verify 1 -CAfile $CA_CERT &
PID=$!
wait_server $PID
@@ -85,6 +89,7 @@ $VALGRIND $CLI $DEBUG -p $PORT 127.0.0.1 --priority "NONE:+CIPHER-ALL:+SIGN-ALL:
kill $PID
wait
+fi
if test "$FIPS" != 1;then
#-cipher RSA-NULL
@@ -322,6 +327,8 @@ echo ""
echo "** Modifier: $ADD"
fi
+if test 0 = 1;then
+
echo "Check SSL 3.0 with RSA ciphersuite"
launch_server $$ --priority "NONE:+CIPHER-ALL:+SIGN-ALL:+COMP-NULL:+MAC-ALL:+VERS-SSL3.0:+RSA$ADD" --x509certfile $SERV_CERT --x509keyfile $SERV_KEY --x509cafile $CA_CERT --dhparams params.dh & PID=$!
wait_server $PID
@@ -352,6 +359,8 @@ $OPENSSL_CLI s_client -host localhost -port $PORT -ssl3 -cert $CLI_CERT -key $C
kill $PID
wait
+fi
+
#TLS 1.0
# This test was disabled because it doesn't work as expected with openssl 1.0.0d