Skip to content

Commit

Permalink
Check TLS 1.3 support in 0rtt-check command
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed May 28, 2020
1 parent 73f4e4a commit 45f966b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SOURCES/webkaos-utils
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,8 @@ sigExitTrap() {
# Code: Yes
# Echo: No
isProtocolSupported() {
openssl ciphers -v | tr -s " " | cut -f2 -d" " | grep "$1"
openssl ciphers -v | tr -s " " | cut -f2 -d" " | grep -q "$1"
return $?
}

# Remove temporary data and exit with given exit code
Expand Down

0 comments on commit 45f966b

Please sign in to comment.