Fix typos in ssl-opt.sh comments

This commit is contained in:
Andres Amaya Garcia 2017-09-14 12:41:29 +01:00 committed by Simon Butcher
parent ac36e382a9
commit 5987ef451c

View file

@ -322,7 +322,7 @@ wait_server_start() {
} }
# Given the client or server debug output, parse the unix timestamp that is # Given the client or server debug output, parse the unix timestamp that is
# included in the first 4 bytes of the random bytes and check that its within # included in the first 4 bytes of the random bytes and check that it's within
# acceptable bounds # acceptable bounds
check_server_hello_time() { check_server_hello_time() {
# Extract the time from the debug (lvl 3) output of the client # Extract the time from the debug (lvl 3) output of the client
@ -341,7 +341,7 @@ check_server_hello_time() {
# The time in ServerHello is at least 5 minutes before now # The time in ServerHello is at least 5 minutes before now
return 1 return 1
elif [ $SERVER_HELLO_TIME -gt $(( $CUR_TIME + $THRESHOLD_IN_SECS )) ]; then elif [ $SERVER_HELLO_TIME -gt $(( $CUR_TIME + $THRESHOLD_IN_SECS )) ]; then
# The time in ServerHello is at least 5 minues later than now # The time in ServerHello is at least 5 minutes later than now
return 1 return 1
else else
return 0 return 0