Closed
Description
The README states
SSL support is available with CPPHTTPLIB_OPENSSL_SUPPORT. libssl and libcrypto should be linked.
Using this, the linker generate many undefined errors
Issue #1561 states
target_link_libraries(SafeTool PRIVATE ${CSP_LIBRARY} wsock32 ws2_32 crypt32 OpenSSL::SSL OpenSSL::Crypto
This also generate undefined errors.
To successfully build SSL support in mingw the following libraries need to be linked in this order
-lcrypt32 -lssl -lcrypto -lws2_32
Note: this is a documentation bug.