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 4e4792d6dc
commit 55141aa875
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))