Topic: Resume Session failure due to configuration issue of build (cmake)
I am using an "Ubuntu 20.04" machine along with the "CLion IDE 2020.3.2" and I want to create an app using WolfSSL which would need the TLS1.3 implementation of it.
Using CLion, I cloned the official repository "https://github.com/wolfSSL/wolfssl.git". CLion automatically built the project and was I am able to run all the \wolfssl\examples perfectly.
Thus, the resumption session does not work.
I run both Server/Client with these arguments:
client/server -v 4 -r
And I am getting this output: "didn't reuse session id!!!" which I can verify from Wireshark that there was no resumption made but just another handshake.
At another build I did where instead of
( which is the default of CLion ) I used
I manged to run properly the resumption but for that I had to add in the configuration before the build this command:
which "Enables all wolfSSL features, excluding SSL v3".
What is the equivalent command of
for the Cmake options, that would enable me the exact same features? Is there any mapping for that ? Or what should I do so I can achieve properly the resumption ? Is there an IDE that could provide me both the build with debugging and supports the --enable-all command ? ( I tried Netbeans, Eclipse but didn't manage to have both build and debugging)
I tried -DWOLFSSL_ALL -DENABLE_ALL and others but did not managed to do it. I tried including many of them separately to find which is the one that enables the resumption but nothing yet.
Thank you in advance