tidy-up: miscellaneous

- avoid "will" in builds scripts, scripts folder, curl_easy_ssls_export.md,
  and few other files.
- badwords: add "initialise", "nul terminated", "thread safety" and
  variations.
- prefer "null-terminat", where missing (two places).
- fix "null-terminat*" missing dash.
- hostip: merge two `#if` blocks.
- tool_doswin: fix comment
  Spotted by GitHub Code Quality
  Follow-up to 9a2663322c #17572
- fix stray spaces and newlines.

Closes #21638
This commit is contained in:
Viktor Szakats 2026-05-14 20:37:42 +02:00
parent 47f411c6d8
commit 614b94eecc
No known key found for this signature in database
64 changed files with 203 additions and 213 deletions

View file

@ -253,9 +253,9 @@ fi
wolf_cnt=$($CURL "${CURL_PARAMS[@]}" -V 2> /dev/null | grep -c wolfSSL)
if ((wolf_cnt == 1)); then
using_wolf="yes"
# for some reason curl+wolfSSL dislikes certs that are ok
# for browsers, so we will test using "insecure" mode (-k)
# but that is ok here as we are only interested in ECH testing
# for some reason curl + wolfSSL dislikes certs that are ok
# for browsers, so we test using "insecure" mode (-k)
# but that is OK here as we are only interested in ECH testing
CURL_PARAMS+=(-k)
fi
# check if we have dig and it knows https or not
@ -474,7 +474,7 @@ done
# Check various command line options, if we are good so far
if [[ "$using_ossl" == "yes" && "$allgood" == "yes" ]]; then
# use this test URL as it will tell us if things worked
# use this test URL as it tells us if things worked
turl="https://defo.ie/ech-check.php"
echo "cli_test with $turl"
echo "cli_test with $turl" >> "$logfile"
@ -498,7 +498,7 @@ if [[ "$using_ossl" == "yes" && "$allgood" == "yes" ]]; then
# ecl:ecl can be correct, incorrect or missing
# ech:pn can be correct, incorrect or missing
# in all cases the "last" argument provided should "win"
# but only one of hard, true, grease or false will apply
# but only one of hard, true, grease or false applies
turl="https://defo.ie/ech-check.php"
echconfiglist=$(get_ech_configlist defo.ie)
goodecl=$echconfiglist
@ -790,7 +790,7 @@ if [[ "$using_ossl" == "yes" && "$allgood" == "yes" ]]; then
turl="https://tcd.ie"
echo "cli_test with $turl"
echo "cli_test with $turl" >> "$logfile"
# the params below do not matter much here as we will fail anyway
# the params below do not matter much here as we fail anyway
echconfiglist=$(get_ech_configlist defo.ie)
goodecl=$echconfiglist
badecl="$goodecl"