diff --git a/library/ssl_tls13_server.c b/library/ssl_tls13_server.c index cc65703182..61a1bad578 100644 --- a/library/ssl_tls13_server.c +++ b/library/ssl_tls13_server.c @@ -208,7 +208,7 @@ static int ssl_tls13_offered_psks_check_identity_match_ticket( 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 6c0489af0b..c8586d2c27 100755 --- a/tests/opt-testcases/tls13-kex-modes.sh +++ b/tests/opt-testcases/tls13-kex-modes.sh @@ -118,7 +118,7 @@ run_test "TLS 1.3 m->m: Session resumption failure, ticket authentication failed -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 @@ run_test "TLS 1.3 m->m: Session resumption failure, ticket expired." \ -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 @@ run_test "TLS 1.3 m->m: Session resumption failure, invalid start time." \ -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 @@ run_test "TLS 1.3 m->m: Session resumption failure, ticket expired. too old" \ -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 @@ run_test "TLS 1.3 m->m: Session resumption failure, age outside tolerance window -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 @@ run_test "TLS 1.3 m->m: Session resumption failure, age outside tolerance window -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