Update IXSocketMbedTLS.cpp (#471)

This commit is contained in:
Cheney Wang 2023-06-23 05:12:51 +08:00 committed by GitHub
parent 688af99747
commit 632ee31509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ namespace ix
mbedtls_pk_init(&_pkey); mbedtls_pk_init(&_pkey);
} }
bool SocketMbedTLS::loadSystemCertificates(std::string& /* errorMsg */) bool SocketMbedTLS::loadSystemCertificates(std::string& errorMsg)
{ {
#ifdef _WIN32 #ifdef _WIN32
DWORD flags = CERT_STORE_READONLY_FLAG | CERT_STORE_OPEN_EXISTING_FLAG | DWORD flags = CERT_STORE_READONLY_FLAG | CERT_STORE_OPEN_EXISTING_FLAG |