1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-05-16 05:06:04 +02:00

fix h2 reward for ALPN in JSON output ()

This commit is contained in:
Dirk 2018-02-13 16:50:35 +01:00
parent 59c5c95efe
commit a2156904eb

@ -8030,7 +8030,7 @@ run_alpn() {
# only h2 is what browser need to use HTTP/2.0 and brings a security benefit
if [[ "$proto" == "h2" ]]; then
pr_svrty_good "$proto"
fileout "$jsonID" "OK" "$alpn_finding"
fileout "$jsonID" "OK" "$proto"
else
out "$proto"
alpn_finding+="$proto"