Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议将mbedtls从工程中独立出来,便于mbedtls版本的升级及多模块复用。 #73

Open
wuhaogs opened this issue Nov 27, 2022 · 1 comment

Comments

@wuhaogs
Copy link
Contributor

wuhaogs commented Nov 27, 2022

系统中不同开发团队的多个功能模块可能都会依赖ssl模块,比如http和mqtt都需要使用mbedtls进行链路加密,为了便于多个模块复用mbedtls,以及mbedtls版本的升级,建议将mbedtls从本工程中独立出来。

@wuhaogs
Copy link
Contributor Author

wuhaogs commented Apr 29, 2023

新版本若依赖外部mbedtls,编译 会报错,platform_net_socket.c:41:11: error: ‘MBEDTLS_ERR_NET_CONNECT_FAILED。此符号位于mbedtls中。
建议:platform\linux\platform_net_socket.c 增加#include "mbedtls/net_sockets.h"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant