From f56fdd43daebc1c1506c943ae1eae48cfcf5faee Mon Sep 17 00:00:00 2001 From: Laine Gholson Date: Sat, 12 Dec 2015 23:09:42 -0600 Subject: [PATCH] Don't output reason not testing spdy when testing server prefs --- testssl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testssl.sh b/testssl.sh index 1c6c5bd..fd9599e 100755 --- a/testssl.sh +++ b/testssl.sh @@ -1744,7 +1744,7 @@ run_server_preference() { [[ -n "$PROXY" ]] && arg=" SPDY/NPN is" [[ -n "$STARTTLS" ]] && arg=" " - if spdy_pre " $arg"; then # is NPN/SPDY supported and is this no STARTTLS? / no PROXY + if spdy_pre " $arg" >/dev/null; then # is NPN/SPDY supported and is this no STARTTLS? / no PROXY $OPENSSL s_client -host $NODE -port $PORT $BUGS -nextprotoneg "$NPN_PROTOs" >$ERRFILE >$TMPFILE if sclient_connect_successful $? $TMPFILE; then proto[i]=$(grep -aw "Next protocol" $TMPFILE | sed -e 's/^Next protocol://' -e 's/(.)//' -e 's/ //g') @@ -1755,8 +1755,8 @@ run_server_preference() { [[ $DEBUG -ge 2 ]] && outln "Default cipher for ${proto[i]}: ${cipher[i]}" fi fi - else - outln # we miss for STARTTLS 1x LF otherwise + #else + #outln # we miss for STARTTLS 1x LF otherwise fi for i in 1 2 3 4 5 6; do