Earlier initialisation of DNS HAS_* related vars

This fixes a bug e.g. when supplying a proxy by a DNS name, testssl couldn't resolve the name as the HAS_ variables initialized by ``check_resolver_bins()`` was done later than ``check_proxy()``.

The patch just puts ``check_resolver_bins()`` earlier in  "main"
This commit is contained in:
Dirk Wetter 2019-11-09 19:41:37 +01:00 committed by GitHub
parent cd647ba2d0
commit bac0f66112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19760,11 +19760,12 @@ lets_roll() {
choose_printf
prepare_debug ; stopwatch parse
prepare_arrays ; stopwatch prepare_arrays
check_resolver_bins
mybanner
check_proxy
check4openssl_oldfarts
check_bsd_mount
check_resolver_bins
if "$do_display_only"; then
prettyprint_local "$PATTERN2SHOW"