mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
@@ -497,7 +497,14 @@ namespace data
|
||||
|
||||
void Reseeder::LoadCertificates ()
|
||||
{
|
||||
std::string certDir = i2p::fs::DataDirPath("certificates", "reseed");
|
||||
std::string certDir;
|
||||
std::string certsdir; i2p::config::GetOption("certsdir", certsdir);
|
||||
if (!i2p::config::IsDefault("certsdir"))
|
||||
certDir = certsdir + i2p::fs::dirSep + "reseed";
|
||||
|
||||
if (certDir.empty() || !i2p::fs::Exists(certDir))
|
||||
std::string certDir = i2p::fs::DataDirPath("certificates", "reseed");
|
||||
|
||||
std::vector<std::string> files;
|
||||
int numCertificates = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user