minor putput cleanup for headers

This commit is contained in:
Dirk 2016-10-03 21:17:29 +02:00
parent f9d44484af
commit bd64fb4214

View File

@ -915,8 +915,9 @@ detect_header() {
HEADERVALUE=$(grep -Faiw "$key:" $HEADERFILE | sed 's/^.*://') HEADERVALUE=$(grep -Faiw "$key:" $HEADERFILE | sed 's/^.*://')
return 1 return 1
else else
pr_svrty_medium "misconfiguration: $nr headers " pr_svrty_medium "misconfiguration: "
pr_italic "$key" pr_italic "$key"
pr_svrty_medium " ${nr}x"
out " -- checking first one " out " -- checking first one "
out "\n$spaces" out "\n$spaces"
# first awk matches the key, second extracts the from the first line the value, be careful with quotes here! # first awk matches the key, second extracts the from the first line the value, be careful with quotes here!
@ -8891,4 +8892,4 @@ fi
exit $? exit $?
# $Id: testssl.sh,v 1.555 2016/10/03 16:52:47 dirkw Exp $ # $Id: testssl.sh,v 1.556 2016/10/03 19:17:28 dirkw Exp $