diff options
author | Mataes <mataes2007@gmail.com> | 2018-05-16 21:12:31 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2018-05-16 21:12:31 +0300 |
commit | 1fc8e65dd319abf0bac6ce753bb87ecbabd8b177 (patch) | |
tree | 94aaf74e14515883aea9da6752ccacca6007fa47 /plugins/CryptoPP/src/cpp_gpgw.cpp | |
parent | aba882ecf1f570400c301493725fcb31270e0fd5 (diff) |
Flags, CrashDumper, CryptoPP, CSList, Db_autobackups, DbEditorPP: cmplugin adaptation
Diffstat (limited to 'plugins/CryptoPP/src/cpp_gpgw.cpp')
-rw-r--r-- | plugins/CryptoPP/src/cpp_gpgw.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/CryptoPP/src/cpp_gpgw.cpp b/plugins/CryptoPP/src/cpp_gpgw.cpp index bda82d6e6f..6141ee8796 100644 --- a/plugins/CryptoPP/src/cpp_gpgw.cpp +++ b/plugins/CryptoPP/src/cpp_gpgw.cpp @@ -7,21 +7,21 @@ PBYTE pRS_gpg; int __cdecl _gpg_init(void);
int __cdecl _gpg_done(void);
-int __cdecl _gpg_open_keyrings(LPSTR,LPSTR);
+int __cdecl _gpg_open_keyrings(LPSTR, LPSTR);
int __cdecl _gpg_close_keyrings(void);
void __cdecl _gpg_set_log(LPCSTR);
void __cdecl _gpg_set_tmp(LPCSTR);
LPSTR __cdecl _gpg_get_error(void);
int __cdecl _gpg_size_keyid(void);
-int __cdecl _gpg_select_keyid(HWND,LPSTR);
-LPSTR __cdecl _gpg_encrypt(LPCSTR,LPCSTR);
+int __cdecl _gpg_select_keyid(HWND, LPSTR);
+LPSTR __cdecl _gpg_encrypt(LPCSTR, LPCSTR);
LPSTR __cdecl _gpg_decrypt(LPCSTR);
LPSTR __cdecl _gpg_get_passphrases();
void __cdecl _gpg_set_passphrases(LPCSTR);
int __cdecl gpg_init()
{
- hgpg = g_hInst;
+ hgpg = g_plugin.getInst();
return _gpg_init();
}
@@ -71,7 +71,7 @@ LPSTR __cdecl gpg_encrypt(pCNTX ptr, LPCSTR szPlainMsg) return ptr->tmp = nullptr;
}
else {
- ptr->tmp = mir_strdup(szEncMsg);
+ ptr->tmp = mir_strdup(szEncMsg);
LocalFree((LPVOID)szEncMsg);
return ptr->tmp;
}
|