double check support of SSLv3 with interop testing

This commit is contained in:
Jacob Barthelmeh 2017-09-08 10:50:23 -06:00
parent ee9d410326
commit 1d1fc66374
1 changed files with 5 additions and 0 deletions

View File

@ -194,7 +194,12 @@ do
# get openssl ciphers depending on version # get openssl ciphers depending on version
case $version in "0") case $version in "0")
openssl_ciphers=`openssl ciphers "SSLv3"` openssl_ciphers=`openssl ciphers "SSLv3"`
# double check that can actually do a sslv3 connection using
# client-cert.pem to send but any file with EOF works
openssl s_client -ssl3 -no_ign_eof -host localhost -port $openssl_port < ./certs/client-cert.pem
sslv3_sup=$? sslv3_sup=$?
if [ $sslv3_sup != 0 ] if [ $sslv3_sup != 0 ]
then then
echo -e "Not testing SSLv3. No OpenSSL support for 'SSLv3' modifier" echo -e "Not testing SSLv3. No OpenSSL support for 'SSLv3' modifier"