Skip to content

Commit

Permalink
fixes recommended in mozilla#169
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-wtioit committed Dec 12, 2022
1 parent cdb1698 commit 4c06e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cipherscan
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ join_array_by_char ':' "${SHORTCIPHERSUITE[@]}"
SHORTCIPHERSUITESTRING="$joined_array"

# TLS 1.3 is different from other versions of the protocol and
# ciphersuites must be passed to openssl explicitely
# ciphersuites must be passed to openssl explicitly
TLS13CIPHERSUITE=(
'TLS_AES_256_GCM_SHA384'
'TLS_AES_128_GCM_SHA256'
Expand Down Expand Up @@ -478,7 +478,7 @@ parse_openssl_output() {
fi

# extract used protocol
if [[ $line =~ Protocol\ + ]]; then
if [[ $line =~ ^Protocol\ + ]]; then
local match=($line)
current_protocol="${match[2]}"
continue
Expand Down

0 comments on commit 4c06e81

Please sign in to comment.