mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-29 12:59:44 +01:00
Change debugme1 calls to include redirection from stderr back to stdout
The fact that debugme1() redirects to stderr and the calls to this functions redo that is deliberately as in the future we might want to use debugme1 without redirection.
This commit is contained in:
parent
4e01f86c99
commit
3f8c62dc41
@ -7505,7 +7505,7 @@ determine_tls_extensions() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Keep it "on file" for debugging purposes
|
# Keep it "on file" for debugging purposes
|
||||||
debugme1 safe_echo "$TLS_EXTENSIONS" >"$TEMPDIR/$NODE.$NODEIP.tls_extensions.txt"
|
debugme1 safe_echo "$TLS_EXTENSIONS" 2>&1 >"$TEMPDIR/$NODE.$NODEIP.tls_extensions.txt"
|
||||||
|
|
||||||
return $success
|
return $success
|
||||||
}
|
}
|
||||||
@ -10382,7 +10382,7 @@ run_fs() {
|
|||||||
CURVES_OFFERED="$curves_offered"
|
CURVES_OFFERED="$curves_offered"
|
||||||
CURVES_OFFERED=$(strip_trailing_space "$CURVES_OFFERED")
|
CURVES_OFFERED=$(strip_trailing_space "$CURVES_OFFERED")
|
||||||
# Keep it "on file" for debugging purposes
|
# Keep it "on file" for debugging purposes
|
||||||
debugme1 safe_echo "$CURVES_OFFERED" >"$TEMPDIR/$NODE.$NODEIP.curves_offered.txt"
|
debugme1 safe_echo "$CURVES_OFFERED" 2>&1 >"$TEMPDIR/$NODE.$NODEIP.curves_offered.txt"
|
||||||
|
|
||||||
# find out what groups are supported.
|
# find out what groups are supported.
|
||||||
if "$using_sockets" && ( "$fs_tls13_offered" || "$ffdhe_offered" ); then
|
if "$using_sockets" && ( "$fs_tls13_offered" || "$ffdhe_offered" ); then
|
||||||
|
Loading…
Reference in New Issue
Block a user