summaryrefslogtreecommitdiff
path: root/plugins/OpenSSL
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 16:10:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 16:10:40 +0300
commit6ccfdcb25f2bb3c7a4e39a055bb392c0d4bfa905 (patch)
treeb53333d819f9afe5fd44dd874cfc0f51189122f8 /plugins/OpenSSL
parent295ca5e99da922699f1bae398f0411f0c99df5f6 (diff)
m_langpack.h unbound from hLangpack
Diffstat (limited to 'plugins/OpenSSL')
-rw-r--r--plugins/OpenSSL/src/ssl_openssl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/OpenSSL/src/ssl_openssl.cpp b/plugins/OpenSSL/src/ssl_openssl.cpp
index 2d477e8dde..20056c5495 100644
--- a/plugins/OpenSSL/src/ssl_openssl.cpp
+++ b/plugins/OpenSSL/src/ssl_openssl.cpp
@@ -101,12 +101,12 @@ static void ReportSslError(SECURITY_STATUS scRet, int line, bool = false)
return;
case SEC_E_INVALID_TOKEN:
- tszMsg += TranslateT("Client cannot decode host message. Possible causes: host does not support SSL or requires not existing security package");
+ tszMsg += TranslateW_LP(L"Client cannot decode host message. Possible causes: host does not support SSL or requires not existing security package");
break;
case CERT_E_CN_NO_MATCH:
case SEC_E_WRONG_PRINCIPAL:
- tszMsg += TranslateT("Host we are connecting to is not the one certificate was issued for");
+ tszMsg += TranslateW_LP(L"Host we are connecting to is not the one certificate was issued for");
break;
default:
@@ -404,7 +404,7 @@ static INT_PTR GetSslApi(WPARAM, LPARAM lParam)
int LoadSslModule(void)
{
if (!SSL_library_load()) {
- MessageBoxW(nullptr, TranslateT("OpenSSL library loading failed"), TranslateT("OpenSSL error"), MB_ICONERROR | MB_OK);
+ MessageBoxW(nullptr, TranslateW_LP(L"OpenSSL library loading failed"), TranslateW_LP(L"OpenSSL error"), MB_ICONERROR | MB_OK);
return 1;
}
CreateServiceFunction(MS_SYSTEM_GET_SI, GetSslApi);