mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't create BN_CTX for ECIES tunnel build record decryption
This commit is contained in:
parent
86415bc61f
commit
167d3a0e3c
3 changed files with 10 additions and 8 deletions
|
@ -95,7 +95,7 @@ namespace garlic
|
|||
void SetStatusV6 (RouterStatus status);
|
||||
int GetNetID () const { return m_NetID; };
|
||||
void SetNetID (int netID) { m_NetID = netID; };
|
||||
bool DecryptTunnelBuildRecord (const uint8_t * encrypted, uint8_t * data, BN_CTX * ctx);
|
||||
bool DecryptTunnelBuildRecord (const uint8_t * encrypted, uint8_t * data);
|
||||
|
||||
void UpdatePort (int port); // called from Daemon
|
||||
void UpdateAddress (const boost::asio::ip::address& host); // called from SSU or Daemon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue