|
|
@ -13,6 +13,7 @@ |
|
|
|
#include "FS.h" |
|
|
|
#include "FS.h" |
|
|
|
#include "Log.h" |
|
|
|
#include "Log.h" |
|
|
|
#include "Family.h" |
|
|
|
#include "Family.h" |
|
|
|
|
|
|
|
#include "Config.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace i2p |
|
|
|
namespace i2p |
|
|
|
{ |
|
|
|
{ |
|
|
@ -104,7 +105,7 @@ namespace data |
|
|
|
certDir = certsdir + i2p::fs::dirSep + "family"; |
|
|
|
certDir = certsdir + i2p::fs::dirSep + "family"; |
|
|
|
|
|
|
|
|
|
|
|
if (certDir.empty() || !i2p::fs::Exists(certDir)) |
|
|
|
if (certDir.empty() || !i2p::fs::Exists(certDir)) |
|
|
|
std::string certDir = i2p::fs::DataDirPath("certificates", "family"); |
|
|
|
certDir = i2p::fs::DataDirPath("certificates", "family"); |
|
|
|
|
|
|
|
|
|
|
|
std::vector<std::string> files; |
|
|
|
std::vector<std::string> files; |
|
|
|
int numCertificates = 0; |
|
|
|
int numCertificates = 0; |
|
|
|