Skip to content

mbedtls: Enable compatibility layer for v3

pkv requested to merge pkviet/librist:mbedtlsfix into master

Librist currently builds with system-wide mbedtls by default. But its code assumes mbedtls 2 (embedded mbedtls is also v2). This creates compilation issues with mbedtls 3 due to the renaming of various functions [1]. The commit fixes the current compilation issues introduced by [2] by including mbedtls compatibility layer. The fix has been tested on mac where librist brew formula relies on v3. See also [3] for issues with librist brew formula for context.

[1] https://github.com/ARMmbed/mbedtls/commit/26371e47939d02d5f1a5ad9012f49aff0c7f5bc4
[2] c43d069e
[3] #127

Edited by pkv

Merge request reports

Loading