Topic: Unsuccessful tls hankshake

Hello,
I work with these components:

Hardware: EK-TM4C129EXL

Operating system: TI-RTOS for Tiva 2.16.1.14

XDCtools version: 3.32.0.06_core

Project: httpsget_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT

wolfSSL Version: wolfSSL-3.10.4

My cloud access has been working for a while now. With the right certificate.

If I use another "wrong" certificate for the TLS_create function, I get -1.
However, if I use a "false" certificate so that the TLS_create function succeeds, I get the code -103 from the HTTPCli_sendRequest function.
Wolfssl code: -188

After a few attempts with this "wrong" certificate, the program counter will hang in the wolfSSL files. See image.

The program hangs within the function HTTPCli_sendRequest
and will not come back When I stop the program you can see that it is stuck in the WolfSSL file.

Can it be that the used memory is not released again in the case of an unsuccessful TLS handshake?

Best regards
Mark

Post's attachments

2251.Screenshot (19).png
2251.Screenshot (19).png 279.15 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Share

Re: Unsuccessful tls hankshake

These issues were fixed as of PR: https://github.com/wolfSSL/wolfssl/pull/2328
Fixes are in release  4.1.0

- KH