fix wrong typo
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
diff --git a/library/ssl_tls13_server.c b/library/ssl_tls13_server.c
index cc65703..61a1bad 100644
--- a/library/ssl_tls13_server.c
+++ b/library/ssl_tls13_server.c
@@ -208,7 +208,7 @@
if( age_in_s > 604800 )
{
MBEDTLS_SSL_DEBUG_MSG(
- 3, ( "Ticket age exceed limitation ticket_age=%lu",
+ 3, ( "Ticket age exceeds limitation ticket_age=%lu",
(long unsigned int)age_in_s ) );
goto exit;
}
diff --git a/tests/opt-testcases/tls13-kex-modes.sh b/tests/opt-testcases/tls13-kex-modes.sh
index 6c0489a..c8586d2 100755
--- a/tests/opt-testcases/tls13-kex-modes.sh
+++ b/tests/opt-testcases/tls13-kex-modes.sh
@@ -118,7 +118,7 @@
-s "ticket is not authentic" \
-S "ticket is expired" \
-S "Invalid ticket start time" \
- -S "Ticket age exceed limitation" \
+ -S "Ticket age exceeds limitation" \
-S "Ticket age outside tolerance window"
requires_all_configs_enabled MBEDTLS_SSL_PROTO_TLS1_3 MBEDTLS_SSL_SESSION_TICKETS MBEDTLS_SSL_SRV_C \
@@ -139,7 +139,7 @@
-S "ticket is not authentic" \
-s "ticket is expired" \
-S "Invalid ticket start time" \
- -S "Ticket age exceed limitation" \
+ -S "Ticket age exceeds limitation" \
-S "Ticket age outside tolerance window"
requires_all_configs_enabled MBEDTLS_SSL_PROTO_TLS1_3 MBEDTLS_SSL_SESSION_TICKETS MBEDTLS_SSL_SRV_C \
@@ -160,7 +160,7 @@
-S "ticket is not authentic" \
-S "ticket is expired" \
-s "Invalid ticket start time" \
- -S "Ticket age exceed limitation" \
+ -S "Ticket age exceeds limitation" \
-S "Ticket age outside tolerance window"
requires_all_configs_enabled MBEDTLS_SSL_PROTO_TLS1_3 MBEDTLS_SSL_SESSION_TICKETS MBEDTLS_SSL_SRV_C \
@@ -181,7 +181,7 @@
-S "ticket is not authentic" \
-S "ticket is expired" \
-S "Invalid ticket start time" \
- -s "Ticket age exceed limitation" \
+ -s "Ticket age exceeds limitation" \
-S "Ticket age outside tolerance window"
requires_all_configs_enabled MBEDTLS_SSL_PROTO_TLS1_3 MBEDTLS_SSL_SESSION_TICKETS MBEDTLS_SSL_SRV_C \
@@ -202,7 +202,7 @@
-S "ticket is not authentic" \
-S "ticket is expired" \
-S "Invalid ticket start time" \
- -S "Ticket age exceed limitation" \
+ -S "Ticket age exceeds limitation" \
-s "Ticket age outside tolerance window"
requires_all_configs_enabled MBEDTLS_SSL_PROTO_TLS1_3 MBEDTLS_SSL_SESSION_TICKETS MBEDTLS_SSL_SRV_C \
@@ -223,7 +223,7 @@
-S "ticket is not authentic" \
-S "ticket is expired" \
-S "Invalid ticket start time" \
- -S "Ticket age exceed limitation" \
+ -S "Ticket age exceeds limitation" \
-s "Ticket age outside tolerance window"
requires_gnutls_tls1_3