https://git.reactos.org/?p=reactos.git;a=commitdiff;h=12caaece255b216b45207…
commit 12caaece255b216b452072d82faecfa98430d4b6
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Wed Sep 30 19:24:10 2020 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Oct 11 17:01:06 2020 +0200
[RAPPS] Fix certificate pinning error displaying garbage
---
base/applications/rapps/loaddlg.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/base/applications/rapps/loaddlg.cpp b/base/applications/rapps/loaddlg.cpp
index ec1ee2a8e6b..7ad7de1d32f 100644
--- a/base/applications/rapps/loaddlg.cpp
+++ b/base/applications/rapps/loaddlg.cpp
@@ -629,7 +629,7 @@ unsigned int WINAPI CDownloadManager::ThreadFunc(LPVOID param)
// do we have a final slash separator?
if (!p)
{
- MessageBox_LoadString(hMainWnd, IDS_UNABLE_PATH);
+ MessageBox_LoadString(hMainWnd, IDS_UNABLE_PATH);
goto end;
}
@@ -811,7 +811,7 @@ unsigned int WINAPI CDownloadManager::ThreadFunc(LPVOID param)
(InfoArray[iAppId].DLType == DLTYPE_DBUPDATE))
{
CLocalPtr<char> subjectName, issuerName;
- CStringW szMsgText;
+ CStringA szMsgText;
bool bAskQuestion = false;
if (!CertGetSubjectAndIssuer(hFile, subjectName, issuerName))
{
@@ -830,7 +830,7 @@ unsigned int WINAPI CDownloadManager::ThreadFunc(LPVOID param)
if (bAskQuestion)
{
- if (MessageBoxW(hMainWnd, szMsgText.GetString(), NULL, MB_YESNO |
MB_ICONERROR) != IDYES)
+ if (MessageBoxA(hMainWnd, szMsgText.GetString(), NULL, MB_YESNO |
MB_ICONERROR) != IDYES)
{
goto end;
}