Skip to content

Commit 4c06e81

Browse files
committed
fixes recommended in mozilla#169
1 parent cdb1698 commit 4c06e81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cipherscan

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ join_array_by_char ':' "${SHORTCIPHERSUITE[@]}"
129129
SHORTCIPHERSUITESTRING="$joined_array"
130130

131131
# TLS 1.3 is different from other versions of the protocol and
132-
# ciphersuites must be passed to openssl explicitely
132+
# ciphersuites must be passed to openssl explicitly
133133
TLS13CIPHERSUITE=(
134134
'TLS_AES_256_GCM_SHA384'
135135
'TLS_AES_128_GCM_SHA256'
@@ -478,7 +478,7 @@ parse_openssl_output() {
478478
fi
479479

480480
# extract used protocol
481-
if [[ $line =~ Protocol\ + ]]; then
481+
if [[ $line =~ ^Protocol\ + ]]; then
482482
local match=($line)
483483
current_protocol="${match[2]}"
484484
continue

0 commit comments

Comments
 (0)