From 7549f10c792fd4434f6a9f6fa8bc07fa696bfabc Mon Sep 17 00:00:00 2001 From: Dirk Date: Tue, 4 Apr 2017 20:23:28 +0200 Subject: [PATCH] added explanation for #692 --- testssl.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 38f5174..207cfbc 100755 --- a/testssl.sh +++ b/testssl.sh @@ -12499,7 +12499,12 @@ ip="" lets_roll init initialize_globals parse_cmd_line "$@" +# html_header() needs to be called early! Otherwiseif html_out() is called before html_header() and the +# command line contains --htmlfile or --html, it'll make problems with html output, see #692. +# json_header and csv_header can be called later but for context reasons we'll leave it here html_header +json_header +csv_header get_install_dir set_color_functions maketempf @@ -12510,8 +12515,6 @@ mybanner check_proxy check4openssl_oldfarts check_bsd_mount -json_header -csv_header if "$do_display_only"; then prettyprint_local "$PATTERN2SHOW"