diff --git a/t/53_hsts_preload.t b/t/53_hsts_preload.t index cd874a0..08f2be4 100644 --- a/t/53_hsts_preload.t +++ b/t/53_hsts_preload.t @@ -41,7 +41,7 @@ system("@args") == 0 $cat_csv=`cat $csv`; # example.com is not on the preload list -like($cat_csv, qr/"HSTS_preloadlist".*"unknown"/,"\"$uri\" should not be on the HSTS preload list"); +like($cat_csv, qr/"HSTS_preloadlist".*"no entry"/,"\"$uri\" should not be on the HSTS preload list"); $tests++; unlink $csv; diff --git a/testssl.sh b/testssl.sh index 131176a..0428b00 100755 --- a/testssl.sh +++ b/testssl.sh @@ -3078,8 +3078,8 @@ run_hsts() { case "$(check_hsts_preloadlist_value "$NODE" "status")" in "unknown") # Not found in the HSTS preload list case "$preloadcombined" in - "000" | "001" | "010" | "011") outln "unknown"; fileout "${jsonID}${json_postfix}" "INFO" "unknown" ;; - "100" | "101" | "110" | "111") pr_svrty_low "unknown"; outln " -- submit to HSTS preload list"; fileout "${jsonID}${json_postfix}" "LOW" "unknown" ;; + "000" | "001" | "010" | "011") outln "no entry"; fileout "${jsonID}${json_postfix}" "INFO" "no entry" ;; + "100" | "101" | "110" | "111") pr_svrty_low "no entry"; outln " -- submit to HSTS preload list"; fileout "${jsonID}${json_postfix}" "LOW" "no entry" ;; esac ;; "pending") # Currently in the HSTS pending list