mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
minor putput cleanup for headers
This commit is contained in:
parent
f9d44484af
commit
bd64fb4214
@ -915,8 +915,9 @@ detect_header() {
|
||||
HEADERVALUE=$(grep -Faiw "$key:" $HEADERFILE | sed 's/^.*://')
|
||||
return 1
|
||||
else
|
||||
pr_svrty_medium "misconfiguration: $nr headers "
|
||||
pr_svrty_medium "misconfiguration: "
|
||||
pr_italic "$key"
|
||||
pr_svrty_medium " ${nr}x"
|
||||
out " -- checking first one "
|
||||
out "\n$spaces"
|
||||
# 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 $?
|
||||
|
||||
|
||||
# $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 $
|
||||
|
Loading…
Reference in New Issue
Block a user