change write_supported_groups_ext prototype

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2021-12-20 22:32:09 +08:00
parent 9d555ac003
commit 1753261083
2 changed files with 2 additions and 2 deletions

View File

@ -1756,7 +1756,7 @@ static inline int mbedtls_ssl_tls13_named_group_is_dhe( uint16_t named_group )
#if defined(MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED)
int mbedtls_ssl_write_supported_groups_ext( mbedtls_ssl_context *ssl,
unsigned char *buf,
unsigned char *end,
const unsigned char *end,
size_t *out_len );
#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */

View File

@ -7236,7 +7236,7 @@ static int ssl_check_group_type( const mbedtls_ssl_config *conf,
int mbedtls_ssl_write_supported_groups_ext( mbedtls_ssl_context *ssl,
unsigned char *buf,
unsigned char *end,
const unsigned char *end,
size_t *out_len )
{
unsigned char *p = buf ;