* I2PControlService::CreateCertificate : use function parameters instead direct GetPath calls

This commit is contained in:
hagen 2016-01-22 00:00:00 +00:00
parent 97ca8b7ada
commit de0658eaab
2 changed files with 21 additions and 24 deletions

View file

@ -97,7 +97,7 @@ namespace client
std::shared_ptr<ssl_socket> socket, std::shared_ptr<I2PControlBuffer> buf);
boost::filesystem::path GetPath () const { return i2p::util::filesystem::GetDefaultDataDir() / I2P_CONTROL_PATH; };
void CreateCertificate ();
void CreateCertificate (const char *crt_path, const char *key_path);
private: