Skip to content

Commit f394080

Browse files
committed
Merge branch '3.2' into client-renego-refactoring
2 parents e4e3afb + b5ad5bd commit f394080

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/docker-3.2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
password: ${{ secrets.GITHUB_TOKEN }}
4949

5050
- name: Build and push
51-
uses: docker/build-push-action@v6.9.0
51+
uses: docker/build-push-action@v6.10.0
5252
with:
5353
push: ${{ github.event_name != 'pull_request' }}
5454
context: .

Readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11

22
## Intro
33

4-
<!-- [![Travis CI Status](https://img.shields.io/travis/drwetter/testssl.sh)](https://travis-ci.org/drwetter/testssl.sh) -->
5-
[![Build Status](https://github.com/drwetter/testssl.sh/actions/workflows/test.yml/badge.svg)](https://github.com/drwetter/testssl.sh/actions/workflows/test.yml)
4+
[![CI tests](https://github.com/drwetter/testssl.sh/actions/workflows/unit_tests.yml/badge.svg)](https://github.com/drwetter/testssl.sh/actions/workflows/unit_tests.yml)
65
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/drwetter/testssl.sh?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
76
[![License](https://img.shields.io/github/license/drwetter/testssl.sh)](https://github.com/drwetter/testssl.sh/LICENSE)
87
[![Docker](https://img.shields.io/docker/pulls/drwetter/testssl.sh)](https://github.com/drwetter/testssl.sh/blob/3.2/Dockerfile.md)

testssl.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,13 +1371,17 @@ fileout_insert_warning() {
13711371
[[ "$CMDLINE=" =~ -iL ]] && return 0
13721372
# Note we still have the message on screen + in HTML which is not as optimal as it could be
13731373

1374-
if "$do_pretty_json" && "$JSONHEADER"; then
1374+
# See #2599. The "clientProblem" wrapper should only be added if fileout_insert_warning()
1375+
# is called before fileout_banner(). The only instance in which this function is called
1376+
# after fileout_banner() is in the case of a TLS 1.3 only server when $OPENSSL does not
1377+
# support TLS 1.3.
1378+
if "$do_pretty_json" && "$JSONHEADER" && ! "$TLS13_ONLY"; then
13751379
echo -e " \"clientProblem${CLIENT_PROB_NO}\" : [" >>"$JSONFILE"
13761380
CLIENT_PROB_NO=$((CLIENT_PROB_NO + 1))
13771381
FIRST_FINDING=true # make sure we don't have a comma here
13781382
fi
13791383
fileout "$1" "$2" "$3"
1380-
if "$do_pretty_json"; then
1384+
if "$do_pretty_json" && ! "$TLS13_ONLY"; then
13811385
if "$JSONHEADER"; then
13821386
echo -e "\n ]," >>"$JSONFILE"
13831387
else

0 commit comments

Comments
 (0)