diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-02 15:51:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-02 15:51:46 +0000 |
commit | eca1b167120907f6d927de29f449c93bdf381a83 (patch) | |
tree | 0699691346ba01d3963cf5c3ef49138713f37205 /plugins/CryptoPP/cpp_gpgw.cpp | |
parent | 1ed8a4ff1ec95b0df08a5bf48bb372c8481e381b (diff) |
- removed __asm piece
git-svn-id: http://svn.miranda-ng.org/main/trunk@717 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/cpp_gpgw.cpp')
-rw-r--r-- | plugins/CryptoPP/cpp_gpgw.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CryptoPP/cpp_gpgw.cpp b/plugins/CryptoPP/cpp_gpgw.cpp index 223280590f..5107b27ac7 100644 --- a/plugins/CryptoPP/cpp_gpgw.cpp +++ b/plugins/CryptoPP/cpp_gpgw.cpp @@ -125,7 +125,7 @@ int __cdecl gpg_init() if ( isVista ) load_gpg_dll(hgpg);
else load_gpg_mem(hgpg);
r = p_gpg_init();
- if(r) {
+ if (r) {
return r;
}
if ( isVista ) {
@@ -147,7 +147,7 @@ int __cdecl gpg_init() int __cdecl gpg_done()
{
int r = 0;
- if(hgpg) {
+ if (hgpg) {
r = p_gpg_done();
if ( isVista ) {
FreeLibrary(hgpg);
@@ -218,7 +218,7 @@ LPSTR __cdecl gpg_decrypt(pCNTX ptr, LPCSTR szEncMsg) LPSTR szPlainMsg = p_gpg_decrypt(szEncMsg);
/* if (!szPlainMsg) {
ptr = get_context_on_id(hPGPPRIV); // find private pgp keys
- if(ptr && ptr->pgpKey)
+ if (ptr && ptr->pgpKey)
szPlainMsg = p_gpg_decrypt_key(szEncMsg,(LPCSTR)ptr->pgpKey);
if (!szPlainMsg) return NULL;
}*/
@@ -259,7 +259,7 @@ LPSTR __cdecl gpg_decode(HANDLE context, LPCSTR szEncMsg) LPSTR szNewMsg = NULL;
LPSTR szOldMsg = gpg_decrypt(ptr, szEncMsg);
- if(szOldMsg) {
+ if (szOldMsg) {
if ( !is_7bit_string(szOldMsg) && !is_utf8_string(szOldMsg) ) {
int slen = strlen(szOldMsg)+1;
LPWSTR wszMsg = (LPWSTR) alloca(slen*sizeof(WCHAR));
|