mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-06-02 22:48:49 +02:00
Fix html output runner
This commit is contained in:
+3
-2
@@ -5440,12 +5440,13 @@ run_client_simulation() {
|
|||||||
else
|
else
|
||||||
pr_cipher_quality "$cipher"
|
pr_cipher_quality "$cipher"
|
||||||
fi
|
fi
|
||||||
|
# attention: print_n_spaces() should only be used once, otherwise HTML output will be doubled
|
||||||
if [[ "$DISPLAY_CIPHERNAMES" =~ openssl ]]; then
|
if [[ "$DISPLAY_CIPHERNAMES" =~ openssl ]]; then
|
||||||
print_n_spaces "$((34-${#cipher}))"
|
print_n_spaces "$((34-${#cipher}))"
|
||||||
append_fileout="$(print_n_spaces $((34-${#cipher})))"
|
append_fileout=" "
|
||||||
else
|
else
|
||||||
print_n_spaces "$((50-${#cipher}))"
|
print_n_spaces "$((50-${#cipher}))"
|
||||||
append_fileout="$(print_n_spaces $((50-${#cipher})))"
|
append_fileout=" "
|
||||||
fi
|
fi
|
||||||
if [[ -n "$what_dh" ]]; then
|
if [[ -n "$what_dh" ]]; then
|
||||||
[[ -n "$curve" ]] && curve="($curve)"
|
[[ -n "$curve" ]] && curve="($curve)"
|
||||||
|
|||||||
Reference in New Issue
Block a user