mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
eliminate dependancy from GOST engine for GOST R 34.10
This commit is contained in:
parent
ba89c60b6d
commit
7caf3ea7d0
5 changed files with 3 additions and 71 deletions
|
@ -122,7 +122,6 @@ namespace i2p
|
|||
i2p::crypto::InitCrypto (precomputation);
|
||||
|
||||
int netID; i2p::config::GetOption("netid", netID);
|
||||
if (netID != 2) i2p::crypto::InitGost (); // init GOST for own darknet
|
||||
i2p::context.SetNetID (netID);
|
||||
i2p::context.Init ();
|
||||
|
||||
|
@ -350,7 +349,6 @@ namespace i2p
|
|||
d.m_WebsocketServer = nullptr;
|
||||
}
|
||||
#endif
|
||||
if (i2p::context.GetNetID () != 2) i2p::crypto::TerminateGost ();
|
||||
i2p::crypto::TerminateCrypto ();
|
||||
i2p::log::Logger().Stop();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue