vcpkg/ports/ixwebsocket/fix-C2065-of-errorMsg.patch

14 lines
511 B
Diff
Raw Normal View History

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 |