mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-06-02 22:48:49 +02:00
Fix diff complaint raised by ./t/12_diff_opensslversions.t
This commit is contained in:
+3
-3
@@ -5451,13 +5451,13 @@ run_client_simulation() {
|
|||||||
[[ -n "$curve" ]] && curve="($curve)"
|
[[ -n "$curve" ]] && curve="($curve)"
|
||||||
if [[ "$what_dh" =~ MLKEM ]] || [[ "$what_dh" =~ Kyber ]]; then
|
if [[ "$what_dh" =~ MLKEM ]] || [[ "$what_dh" =~ Kyber ]]; then
|
||||||
pr_kem_quality "$bits" "$(printf -- "%-12s" "$what_dh")"
|
pr_kem_quality "$bits" "$(printf -- "%-12s" "$what_dh")"
|
||||||
appendfile+="$what_dh"
|
appendfile+="$(printf -- "%-12s" "$what_dh")"
|
||||||
elif [[ "$what_dh" == ECDH ]]; then
|
elif [[ "$what_dh" == ECDH ]]; then
|
||||||
pr_ecdh_quality "$bits" "$(printf -- "%-12s" "$bits bit $what_dh") $curve"
|
pr_ecdh_quality "$bits" "$(printf -- "%-12s" "$bits bit $what_dh") $curve"
|
||||||
appendfile+="$what_dh $bits $curve"
|
appendfile+="$(printf -- "%-12s" "$bits bit $what_dh") $curve"
|
||||||
else
|
else
|
||||||
pr_dh_quality "$bits" "$(printf -- "%-12s" "$bits bit $what_dh") $curve"
|
pr_dh_quality "$bits" "$(printf -- "%-12s" "$bits bit $what_dh") $curve"
|
||||||
appendfile+="$what_dh $bits $curve"
|
appendfile+="$(printf -- "%-12s" "$bits bit $what_dh") $curve"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if "$HAS_DH_BITS" || { "$using_sockets" && [[ -n "${handshakebytes[i]}" ]]; }; then
|
if "$HAS_DH_BITS" || { "$using_sockets" && [[ -n "${handshakebytes[i]}" ]]; }; then
|
||||||
|
|||||||
Reference in New Issue
Block a user