We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e397ed5 commit fc25671Copy full SHA for fc25671
src/dl.c
@@ -151,7 +151,7 @@ xmlSecCryptoDLLibraryCreate(const xmlChar* name) {
151
#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP)
152
lib->handle = LoadLibraryA((char*)lib->filename);
153
#else
154
- LPTSTR wcLibFilename = xmlSecWin32ConvertUtf8ToTstr(lib->filename);
+ LPWSTR wcLibFilename = xmlSecWin32ConvertUtf8ToUnicode(lib->filename);
155
if(wcLibFilename == NULL) {
156
xmlSecIOError("xmlSecWin32ConvertUtf8ToTstr", lib->filename, NULL);
157
xmlSecCryptoDLLibraryDestroy(lib);
0 commit comments