1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

make ticket_flags param types consistent

When ticket_flags used as parameter, use unsigned int,
instead of uint8_t or mbedtls_ssl_tls13_ticket_flags.Also
remove the definition of mbedtls_ssl_tls13_ticket_flags.

Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
Pengyu Lv
2023-01-16 11:23:24 +08:00
parent 3643fdbab9
commit acecf9c95b
4 changed files with 5 additions and 8 deletions

View File

@ -747,8 +747,7 @@ static const char *ticket_flag_name_table[] =
void mbedtls_debug_print_ticket_flags(
const mbedtls_ssl_context *ssl, int level,
const char *file, int line,
mbedtls_ssl_tls13_ticket_flags flag)
const char *file, int line, unsigned int flag)
{
size_t i;