Enabled db encryption and changed gxs folder

- need sql cipher to compile if gxs compile flags are enabled

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6431 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2013-06-13 21:21:33 +00:00
parent ff544da72e
commit 777366a79b
2 changed files with 2 additions and 1 deletions

View File

@ -2276,7 +2276,7 @@ int RsServer::StartupRetroShare()
std::string currGxsDir = RsInitConfig::configDir + "/GXS_phase2"; std::string currGxsDir = RsInitConfig::configDir + "/GXS_phase2";
#ifdef GXS_DEV_TESTNET // Different Directory for testing. #ifdef GXS_DEV_TESTNET // Different Directory for testing.
currGxsDir += "_TESTNET3"; currGxsDir += "_TESTNET4";
#endif #endif
bool cleanUpGxsDir = false; bool cleanUpGxsDir = false;

View File

@ -32,6 +32,7 @@
#include "rsdbbind.h" #include "rsdbbind.h"
//#define RETRODB_DEBUG //#define RETRODB_DEBUG
#define ENABLE_ENCRYPTED_DB
const int RetroDb::OPEN_READONLY = SQLITE_OPEN_READONLY; const int RetroDb::OPEN_READONLY = SQLITE_OPEN_READONLY;