aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-02-06 08:05:59 -0500
committerJack Lloyd <[email protected]>2020-02-06 12:14:24 -0500
commitd9180575573f46ee1bfee9882d6aaaba1b222ec1 (patch)
tree4d269c3a243d41a82116d04d3a490db7b20d1b63 /src
parent7cc1f66c8e126676196192101285b35472ccfc96 (diff)
Use CertOpenSystemStoreA to avoid Unicode build issue
Diffstat (limited to 'src')
-rw-r--r--src/lib/x509/certstor_system_windows/certstor_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/certstor_system_windows/certstor_windows.cpp b/src/lib/x509/certstor_system_windows/certstor_windows.cpp
index 58ef40fd7..3a58f680c 100644
--- a/src/lib/x509/certstor_system_windows/certstor_windows.cpp
+++ b/src/lib/x509/certstor_system_windows/certstor_windows.cpp
@@ -105,7 +105,7 @@ class Handle_Guard
HCERTSTORE open_cert_store(const char* cert_store_name)
{
- auto store = CertOpenSystemStore(NULL, cert_store_name);
+ auto store = CertOpenSystemStoreA(NULL, cert_store_name);
if(!store)
{
throw Botan::Internal_Error(