trivial changes

This commit is contained in:
nervuri 2022-08-07 00:00:00 +00:00
parent d45f691da0
commit eb6c24c12b
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ localhost(:[0-9]+)?
\[::1\](:[0-9]+)?
# Reserved TLDs
# https://tools.ietf.org/id/draft-chapin-additional-reserved-tlds-01.html
# https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xml#special-use-domain
.*\.test(:[0-9]+)?
.*\.example(:[0-9]+)?
.*\.invalid(:[0-9]+)?

View File

@ -107,6 +107,7 @@ while read -r host; do
>&2 echo "$host_and_port - Tor connection failed"
elif [ -n "$cert" ] && [ "$cert" != "$cert_via_tor" ]; then
# Mismatch.
>&2 echo # empty line
>&2 echo "$host_and_port - Tor VERIFICATION FAILED (certs don't match)!!!"
# In this case, don't save any certificate to file.
# Output both certificates to stderr instead.