mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Fix HSTS/HPKP includeSubDomains and preload being broken in file output.
This commit is contained in:
parent
02e9f5cd23
commit
f8579ee2f7
@ -855,19 +855,19 @@ run_http_date() {
|
||||
includeSubDomains() {
|
||||
if grep -aiqw includeSubDomains "$1"; then
|
||||
pr_done_good ", includeSubDomains"
|
||||
return 1
|
||||
return 0
|
||||
else
|
||||
pr_litecyan ", just this domain"
|
||||
return 0
|
||||
return -1
|
||||
fi
|
||||
}
|
||||
|
||||
preload() {
|
||||
if grep -aiqw preload "$1"; then
|
||||
pr_done_good ", preload"
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
else
|
||||
return -1
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user