1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

mki length feats in a uint16_t

Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
Johan Pascal
2020-09-22 15:15:19 +02:00
parent 253d0263a6
commit f6417ecf60
4 changed files with 9 additions and 11 deletions

View File

@@ -4717,7 +4717,7 @@ void mbedtls_ssl_conf_srtp_mki_value_supported( mbedtls_ssl_config *conf,
int mbedtls_ssl_dtls_srtp_set_mki_value( mbedtls_ssl_context *ssl,
unsigned char *mki_value,
size_t mki_len )
uint16_t mki_len )
{
if ( mki_len > MBEDTLS_TLS_SRTP_MAX_MKI_LENGTH )
{