1 --- gnutls-3.5.16/lib/system/keys-win.c 2016-11-05 19:12:02.000000000 +0100
2 +++ gnutls-3.5.16/lib/system/keys-win.c.new 2017-12-26 16:29:00.221119300 +0100
7 - ncrypt_lib = LoadLibraryA("ncrypt.dll");
8 + ncrypt_lib = LoadLibrary(TEXT("ncrypt.dll"));
9 if (ncrypt_lib == NULL) {
10 return gnutls_assert_val(GNUTLS_E_CRYPTO_INIT_FAILED);
12 --- gnutls/lib/system.c.old 2017-12-28 15:24:07.479820602 +0100
13 +++ gnutls/lib/system.c 2017-12-28 15:25:33.587817242 +0100
15 #if defined(_WIN32) && defined(NEED_CERT_ENUM_CRLS)
16 /* used in system/certs.c */
18 - crypto = LoadLibraryA("Crypt32.dll");
19 + crypto = LoadLibrary(TEXT("Crypt32.dll"));
22 return GNUTLS_E_CRYPTO_INIT_FAILED;