Skip to content

Commit 336d3c9

Browse files
committed
better use safe_echo()
1 parent b633efa commit 336d3c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

testssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11456,12 +11456,12 @@ starttls_ldap_dialog() {
1145611456
if [[ $DEBUG -ge 2 ]]; then
1145711457
msg_lenstr=$(hex2dec ${result:26:02})
1145811458
msg_len=$((2 * msg_lenstr))
11459-
echo "$debugpad $(hex2binary "${result:28:$msg_len}")"
11459+
safe_echo "$debugpad $(hex2binary "${result:28:$msg_len}")"
1146011460
fi ;;
1146111461
*)
1146211462
ret=127
1146311463
if [[ $DEBUG -ge 2 ]]; then
11464-
echo "$debugpad $(hex2dec "${result:28:2}")"
11464+
safe_echo "$debugpad $(hex2dec "${result:28:2}")"
1146511465
fi ;;
1146611466
esac
1146711467
debugme echo "=== finished LDAP STARTTLS dialog with ${ret} ==="

0 commit comments

Comments
 (0)