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

James Almer jamrial at gmail.com
Mon Nov 1 14:01:50 EET 2021


On 11/1/2021 2:30 AM, omer yacine wrote:
> Hello,
> 
> Let me ping this patch since I got no response after 4 days.
> 
> Thanks,

I don't see the patch in the mailing list archive. Could you resend it?

> 
> --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(-)
>>
>>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> 



More information about the ffmpeg-devel mailing list