gpt4 book ai didi

ssl - wolfssl SendClientKeyExchange 失败

转载 作者:太空宇宙 更新时间:2023-11-03 13:49:13 24 4
gpt4 key购买 nike

我将 wolfssl 移植到 Liteos,运行时出现错误:

wolfSSL error occurred, error = 111 line:11221 file:src/ssl.c

error = -111, mp_read 错误状态

我跟踪底层代码找到错误的位置:

        case FIRST_REPLY_FIRST :
#ifdef WOLFSSL_TLS13
printf("into WOLFSSL_TLS13 ..\n");
if (ssl->options.tls1_3)
return wolfSSL_connect_TLSv13(ssl);
#endif
if (!ssl->options.resuming) {
if ( (ssl->error = SendClientKeyExchange(ssl)) != 0) {
WOLFSSL_ERROR(ssl->error); //Error occurred !!
return WOLFSSL_FATAL_ERROR;
}
WOLFSSL_MSG("sent: client key exchange");
}

ssl->options.connectState = FIRST_REPLY_SECOND;
WOLFSSL_MSG("connect state: FIRST_REPLY_SECOND");
FALL_THROUGH;

wolfssl 版本为 4.2.0-stable

不知道为什么

最佳答案

公钥操作失败的最常见原因是堆栈和/或堆没有设置得足够高。 wolfSSL Porting Guide有一个关于内存要求的部分。你能仔细检查项目中的可用内存吗?

关于ssl - wolfssl SendClientKeyExchange 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58966787/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com