ws curl + http client tls option handling + ca cert processing for mbedtls

This commit is contained in:
Benjamin Sergeant
2019-09-29 21:13:11 -07:00
parent 89d2606b1d
commit 2229159bd2
9 changed files with 51 additions and 14 deletions

View File

@@ -17,10 +17,6 @@ namespace ix
bool SocketTLSOptions::isValid() const
{
#ifndef IXWEBSOCKET_USE_TLS
_errMsg = "To use TLS features the library must be compiled with USE_TLS";
return false;
#endif
if (!_validated)
{
if (!certFile.empty() && !std::ifstream(certFile))