mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-05 09:40:32 +00:00
Fix typos in ssl-opt.sh comments
This commit is contained in:
parent
b84c40b12f
commit
3b1bdff285
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user