mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-03-09 15:01:16 +01:00
Merge branch '3.2' into client-renego-refactoring
This commit is contained in:
commit
f39408086b
2
.github/workflows/docker-3.2.yml
vendored
2
.github/workflows/docker-3.2.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6.9.0
|
||||
uses: docker/build-push-action@v6.10.0
|
||||
with:
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
context: .
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
## Intro
|
||||
|
||||
<!-- [](https://travis-ci.org/drwetter/testssl.sh) -->
|
||||
[](https://github.com/drwetter/testssl.sh/actions/workflows/test.yml)
|
||||
[](https://github.com/drwetter/testssl.sh/actions/workflows/unit_tests.yml)
|
||||
[](https://gitter.im/drwetter/testssl.sh?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://github.com/drwetter/testssl.sh/LICENSE)
|
||||
[](https://github.com/drwetter/testssl.sh/blob/3.2/Dockerfile.md)
|
||||
|
@ -1371,13 +1371,17 @@ fileout_insert_warning() {
|
||||
[[ "$CMDLINE=" =~ -iL ]] && return 0
|
||||
# Note we still have the message on screen + in HTML which is not as optimal as it could be
|
||||
|
||||
if "$do_pretty_json" && "$JSONHEADER"; then
|
||||
# See #2599. The "clientProblem" wrapper should only be added if fileout_insert_warning()
|
||||
# is called before fileout_banner(). The only instance in which this function is called
|
||||
# after fileout_banner() is in the case of a TLS 1.3 only server when $OPENSSL does not
|
||||
# support TLS 1.3.
|
||||
if "$do_pretty_json" && "$JSONHEADER" && ! "$TLS13_ONLY"; then
|
||||
echo -e " \"clientProblem${CLIENT_PROB_NO}\" : [" >>"$JSONFILE"
|
||||
CLIENT_PROB_NO=$((CLIENT_PROB_NO + 1))
|
||||
FIRST_FINDING=true # make sure we don't have a comma here
|
||||
fi
|
||||
fileout "$1" "$2" "$3"
|
||||
if "$do_pretty_json"; then
|
||||
if "$do_pretty_json" && ! "$TLS13_ONLY"; then
|
||||
if "$JSONHEADER"; then
|
||||
echo -e "\n ]," >>"$JSONFILE"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user