diff options
-rw-r--r-- | lib/system.c | 2 | ||||
-rw-r--r-- | lib/system/keys-win.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.c b/lib/system.c index 1bbbf79c84..ddf1427098 100644 --- a/lib/system.c +++ b/lib/system.c @@ -70,7 +70,7 @@ int gnutls_system_global_init(void) #if defined(_WIN32) && defined(NEED_CERT_ENUM_CRLS) /* used in system/certs.c */ HMODULE crypto; - crypto = LoadLibraryA("Crypt32.dll"); + crypto = LoadLibrary(TEXT("Crypt32.dll")); if (crypto == NULL) return GNUTLS_E_CRYPTO_INIT_FAILED; diff --git a/lib/system/keys-win.c b/lib/system/keys-win.c index eac511b975..16d6f9f951 100644 --- a/lib/system/keys-win.c +++ b/lib/system/keys-win.c @@ -1426,7 +1426,7 @@ int _gnutls_system_key_init(void) int ret; #ifdef DYN_NCRYPT - ncrypt_lib = LoadLibraryA("ncrypt.dll"); + ncrypt_lib = LoadLibrary(TEXT("ncrypt.dll")); if (ncrypt_lib == NULL) { return gnutls_assert_val(GNUTLS_E_CRYPTO_INIT_FAILED); } |