diff --git a/testssl.sh b/testssl.sh index f653082..bb8318c 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2228,6 +2228,12 @@ check_revocation_ocsp() { fi } +# waits maxsleep seconds (arg2) until process with arg1 (pid) will be killed +# +# return values +# 0: process terminated before be killed +# 3: was killed +# wait_kill(){ local pid=$1 # pid we wait for or kill local maxsleep=$2 # how long we wait before killing @@ -6215,6 +6221,7 @@ sub_quic() { local jsonID="QUIC" [[ $DEBUG -ne 0 ]] && sclient_errfile=/dev/null + [[ "$SERVICE" != HTTP ]] && return 0 pr_bold " QUIC ";