tls: psa_pake: fix missing casting in mbedtls_psa_ecjpake_write_round

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
Valerio Setti 2022-11-22 16:03:43 +01:00
parent d4a9b1ab8d
commit 99d88c1ab4

View File

@ -8272,7 +8272,7 @@ int mbedtls_psa_ecjpake_write_round(
return( psa_ssl_status_to_mbedtls( status ) );
}
*(buf + output_offset) = output_len;
*(buf + output_offset) = (uint8_t) output_len;
output_offset += output_len + 1;
}