Giter Site home page Giter Site logo

mbedtls's People

Contributors

armink avatar bernardxiong avatar enkiller avatar flyingcys avatar guozhanxin avatar kurisaw avatar lawlieta avatar murphyzhao avatar summergift avatar wdyichen avatar wosayttn avatar xiangxistu avatar yangjie11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mbedtls's Issues

代码bug反馈

在port/src/tls_client.c 34行代码:
#define rt_kprintf rt_kprintf("[tls]");rt_kprintf
这段代码在某些场合会有bug,如在tls_app_test.c 142-143行中的代码片段:
for (i = 0; i < ret; i++)
rt_kprintf("%c", tls_session->buffer[i]);
实际上这个for循环无法正常打印收到的数据。

0x52 错误

0x52 错误是由 getaddrinfo 函数返回的,域名解析错误,unknown host。

造成该错误的原因:

  1. 域名中有大写
  2. 二级域名前增加了 www.

因此,在使用时请确认,将 host 转为小写,二级域名前不适用 www.

提示缺少引用

image
使用RT-ThreadStudio 创建RTT项目
开启MQTT,WebClent.并开启TLS。之后提示如图。

mdk 4.72.10.0 编译出错

编译出现类似此等错误
application.c: error: C3906U: Malformed via file '.\build\application.__i'.
解决方法:拷贝mbedtls-port/inc/tls_config.h内容到mbedtls/include/mbedtls/config.h中

烦请下次更新README.md时增加说明。

0x7200 错误

mbedtls 中返回 0x7200 错误,很大情况下是 帧大小 配置有问题。

RFC 手册描述,默认的 帧大小 为 16KB,如果 SSL/TLS 服务器没有进行重新配置,并且没有设置自适应帧大小,则需要用户在使用 mbedtls 的时候自行配置 帧大小 到 16KB。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.