diff --git a/src/impl/tlstransport.cpp b/src/impl/tlstransport.cpp index b3aec3da3..68ea06e26 100644 --- a/src/impl/tlstransport.cpp +++ b/src/impl/tlstransport.cpp @@ -338,7 +338,7 @@ TlsTransport::TlsTransport(variant, shared_ptrdata(), cacert->size())); + &mCacert, (reinterpret_cast(cacert->data()), cacert->size())); } mbedtls_ssl_conf_ca_chain(&mConf, &mCacert, NULL); }