From 777366a79bbbf7370ba135ae13a269be04c123b1 Mon Sep 17 00:00:00 2001 From: chrisparker126 Date: Thu, 13 Jun 2013 21:21:33 +0000 Subject: [PATCH] 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 --- libretroshare/src/rsserver/rsinit.cc | 2 +- libretroshare/src/util/retrodb.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/rsserver/rsinit.cc b/libretroshare/src/rsserver/rsinit.cc index f897da3c0..7033b13a1 100644 --- a/libretroshare/src/rsserver/rsinit.cc +++ b/libretroshare/src/rsserver/rsinit.cc @@ -2276,7 +2276,7 @@ int RsServer::StartupRetroShare() std::string currGxsDir = RsInitConfig::configDir + "/GXS_phase2"; #ifdef GXS_DEV_TESTNET // Different Directory for testing. - currGxsDir += "_TESTNET3"; + currGxsDir += "_TESTNET4"; #endif bool cleanUpGxsDir = false; diff --git a/libretroshare/src/util/retrodb.cc b/libretroshare/src/util/retrodb.cc index 488fdacc1..c92e21aff 100644 --- a/libretroshare/src/util/retrodb.cc +++ b/libretroshare/src/util/retrodb.cc @@ -32,6 +32,7 @@ #include "rsdbbind.h" //#define RETRODB_DEBUG +#define ENABLE_ENCRYPTED_DB const int RetroDb::OPEN_READONLY = SQLITE_OPEN_READONLY;