vcpkg/ports/ixwebsocket/fix-C2065-of-errorMsg.patch
2023-06-16 20:50:42 -07:00

14 lines
511 B
Diff

diff --git a/ixwebsocket/IXSocketMbedTLS.cpp b/ixwebsocket/IXSocketMbedTLS.cpp
index f5c0cf6..0192dc7 100644
--- a/ixwebsocket/IXSocketMbedTLS.cpp
+++ b/ixwebsocket/IXSocketMbedTLS.cpp
@@ -49,7 +49,7 @@ namespace ix
mbedtls_pk_init(&_pkey);
}
- bool SocketMbedTLS::loadSystemCertificates(std::string& /* errorMsg */)
+ bool SocketMbedTLS::loadSystemCertificates(std::string& errorMsg)
{
#ifdef _WIN32
DWORD flags = CERT_STORE_READONLY_FLAG | CERT_STORE_OPEN_EXISTING_FLAG |