You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @lgg2,
Wow, that's awesome, can you point to me that source, so I can try and test?
May I assume is this one right here? lgg2@e8733d2
If so, that's nice, I wouldn't expected to be that simple, since OpenSSL is too much complex, and etc. Please go ahead and send a PR, just a few notes first:
It looks like the code has been reformatted, which I usually don't like... since it breaks the commit history a bit when you do a 'blame'. Did you use clang-format by any chance? If so, that's fine.
I would like this to be added conditionally so that wsServer still works in an environment without OpenSSL, something like: #ifdef ENABLE_OPENSSL.
In your code I didn't see any changes to the build scripts, like in the Makefile or CMakeLists.txt.
In general, I would like to receive these changes so that I can test them right away with a make or CFLAGS="-DENABLE_OPENSSL=yes" make. If you have trouble with this, you can send it as is.
Activity
Theldus commentedon Oct 31, 2024
Hi @lgg2,
Wow, that's awesome, can you point to me that source, so I can try and test?
May I assume is this one right here? lgg2@e8733d2
If so, that's nice, I wouldn't expected to be that simple, since OpenSSL is too much complex, and etc. Please go ahead and send a PR, just a few notes first:
It looks like the code has been reformatted, which I usually don't like... since it breaks the commit history a bit when you do a 'blame'. Did you use clang-format by any chance? If so, that's fine.
I would like this to be added conditionally so that wsServer still works in an environment without OpenSSL, something like:
#ifdef ENABLE_OPENSSL.In your code I didn't see any changes to the build scripts, like in the Makefile or CMakeLists.txt.
In general, I would like to receive these changes so that I can test them right away with a
makeorCFLAGS="-DENABLE_OPENSSL=yes" make. If you have trouble with this, you can send it as is.lgg2 commentedon Oct 31, 2024
Hello,
Sorry for the reformat. It has been thing of VScode. I will re-do the thing.
And yes, I will place the conditional include. Also, the only change in Makefile it is the addition of
-lssl and -lcryptoI will do it tomorrow.