mbedls system certs

This commit is contained in:
Benjamin Sergeant
2020-05-17 10:06:11 -07:00
parent e8287e91e4
commit c34ce0160b
4 changed files with 57 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ TEST_CASE("socket", "[socket]")
std::string errMsg;
bool tls = true;
SocketTLSOptions tlsOptions;
tlsOptions.caFile = "cacert.pem";
// tlsOptions.caFile = "cacert.pem";
std::shared_ptr<Socket> socket = createSocket(tls, -1, errMsg, tlsOptions);
std::string host("www.google.com");
int port = 443;