Topic: Error -308 with WolfSSL on TI-RTOS

Hi,

First of all, i downloaded WolfSSL-3.9.6w from website and then compile successfully on visual studio 2013. Server.exe and Client.exe working properly.

Then i compile Tirtos example tcpEchoTLS. This example running as server so i need client.exe only.

For now, client.exe says "err = -308" whereas client.exe working normally with server.exe

why it is showing this error?

I found "Client Hello" is done successfully. But cant get any message from Server.

I want to debug server side But the problem is:
I dont know where to write  "--enable-debug " , I mean how to enable debug option.

In wolfssl documents it is written, You can enable wolfSSL debug messages by compiling wolfSSL with DEBUG_WOLFSSL enabled

But In which file I have to enable debug and how to write it.

Thanks,
Nimesh

Share

Re: Error -308 with WolfSSL on TI-RTOS

Hi Nimesh,

To use DEBUG_WOLFSSL in the TI-RTOS project please locate the file C:\<path-to>\<wolf-root>\wolfssl\wolfcrypt\settings.h

Modify the section in settings.h that is wrapped in "#ifdef WOLFSSL_TIRTOS"

add the define

"#define DEBUG_WOLFSSL"


Regards,

Kaleb