mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 00:13:19 +00:00
Use TEXT() macro to handle ANSI vs UNICODE string literal.
This commit is contained in:
parent
c687e31701
commit
ce2eba73ac
@ -20,7 +20,7 @@ namespace network_asio
|
||||
void load_tls_root_certs(boost::asio::ssl::context &ctx)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
HCERTSTORE hStore = CertOpenSystemStore(0, "ROOT");
|
||||
HCERTSTORE hStore = CertOpenSystemStore(0, TEXT("ROOT"));
|
||||
assert(hStore != NULL);
|
||||
|
||||
X509_STORE *store = X509_STORE_new();
|
||||
|
Loading…
x
Reference in New Issue
Block a user