1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/security/i2pd/files/patch-libi2pd_Reseed.cpp
Dmitry Marakasov e5967de6d2 - Install reseed certificates [1]
- Switch to upstream installation

PR:		253965 [1]
Submitted by:	admin@support.od.ua [1]
2021-03-19 12:37:03 +00:00

14 lines
396 B
C++

Static files belong to datadir, not vardir.
--- libi2pd/Reseed.cpp.orig 2021-02-15 13:21:30 UTC
+++ libi2pd/Reseed.cpp
@@ -497,7 +497,7 @@ namespace data
void Reseeder::LoadCertificates ()
{
- std::string certDir = i2p::fs::DataDirPath("certificates", "reseed");
+ std::string certDir = "%%DATADIR%%/certificates/reseed";
std::vector<std::string> files;
int numCertificates = 0;