[FFmpeg-devel] libavformat/tls_mbedtls.c: Accommodating to mbedtls v3.0.0 API changes

omer yacine omar.groza at gmail.com
Mon Nov 1 07:30:06 EET 2021


Hello,

Let me ping this patch since I got no response after 4 days.

Thanks,

--Omar

On Thu, Oct 28, 2021 at 8:11 PM meryacine <omar.groza at gmail.com> wrote:

>
> There were breaking API changes in mbedtls from v2.27.0 to v3.0.0.
> This patch accounts for these changes.
>
> Changes:
> - mbedtls/certs.h is no longer imported. See
> https://github.com/ARMmbed/mbedtls/pull/4119.
> - mbedtls/config.h is replaced with mbedtls/build_info.h. See
> https://github.com/ARMmbed/mbedtls/blob/v3.0.0/docs/3.0-migration-guide.md#introduce-a-level-of-indirection-and-versioning-in-the-config-files
> .
> - MBEDTLS_ERR_SSL_NO_USABLE_CIPHERSUITE is replaced with
> MBEDTLS_ERR_SSL_HANDSHAKE_FAILURE. See
> https://github.com/ARMmbed/mbedtls/blob/v3.0.0/docs/3.0-migration-guide.md#changes-in-the-ssl-error-code-space
> .
> - The function mbedtls_pk_parse_keyfile should now be given 2 more
> arguments. See
> https://github.com/ARMmbed/mbedtls/blob/v3.0.0/docs/3.0-migration-guide.md#some-functions-gained-an-rng-parameter
> .
>
> Signed-off-by: meryacine <omar.groza at gmail.com>
> ---
>  libavformat/tls_mbedtls.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
>
>


More information about the ffmpeg-devel mailing list