summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/commonheaders.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-16 14:52:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-16 14:52:30 +0000
commit061047f67b695296a39a65df4a24916def1f67d5 (patch)
tree1b8b26385c66a0605e1a2688b23d68ea4558b32a /plugins/CryptoPP/src/commonheaders.h
parent16883b99a9de3b600bb7cc0bd42317249e74f2df (diff)
custom (and also buggy) base64 processing code replaced with the core functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@4987 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/src/commonheaders.h')
-rw-r--r--plugins/CryptoPP/src/commonheaders.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/commonheaders.h b/plugins/CryptoPP/src/commonheaders.h
index b59445c548..863a839cc9 100644
--- a/plugins/CryptoPP/src/commonheaders.h
+++ b/plugins/CryptoPP/src/commonheaders.h
@@ -60,7 +60,6 @@
#include "mmi.h"
#include "utf8.h"
#include "base16.h"
-#include "base64.h"
#include "gettime.h"
#include "cpp_rsam.h"
#include "cpp_rsau.h"
@@ -82,6 +81,10 @@ extern CRITICAL_SECTION localQueueMutex;
void ExtractFile(char*,int,int);
size_t rtrim(LPCSTR);
+std::string base64encode(const std::string&);
+std::string base64decode(const std::string&);
+std::string base64decode(const char *);
+
#if defined(_DEBUG) || defined(NETLIB_LOG)
extern HANDLE hNetlibUser;
void InitNetlib();