From bd49c3201234f447a4fc951ea652532d973c07b1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Nov 2013 23:13:38 +0000 Subject: Encryption: gathering all things together, part I git-svn-id: http://svn.miranda-ng.org/main/trunk@6910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbintf.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/Db3x_mmap/src/dbintf.h') diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h index 152e8613b2..80f1d32790 100644 --- a/plugins/Db3x_mmap/src/dbintf.h +++ b/plugins/Db3x_mmap/src/dbintf.h @@ -204,6 +204,7 @@ protected: virtual int InitCache(void) = 0; protected: + int InitCrypt(void); virtual void EncodeCopyMemory(void *dst, void *src, size_t size); virtual void DecodeCopyMemory(void *dst, void *src, size_t size); virtual void EncodeDBWrite(DWORD ofs, void *src, int size); @@ -223,7 +224,9 @@ protected: DBHeader m_dbHeader; DWORD m_ChunkSize; bool m_safetyMode, m_bReadOnly; - + + MICryptoEngine *m_crypto; + //////////////////////////////////////////////////////////////////////////// // database stuff public: -- cgit v1.2.3