diff --git a/i2pd b/i2pd index 1ce6ad5..a8196d1 160000 --- a/i2pd +++ b/i2pd @@ -1 +1 @@ -Subproject commit 1ce6ad5ccc812599728e0a6f07767e52b48ecbee +Subproject commit a8196d1f33d15b0bc4c992e4ea1dab1aef4c84a7 diff --git a/keygen.cpp b/keygen.cpp index 069164d..deab96c 100644 --- a/keygen.cpp +++ b/keygen.cpp @@ -18,8 +18,6 @@ int main (int argc, char * argv[]) std::string str(argv[2]); type = NameToSigType(str); } - if (type == i2p::data::SIGNING_KEY_TYPE_GOSTR3410_A_GOSTR3411) - i2p::crypto::InitGost (); auto keys = i2p::data::PrivateKeys::CreateRandomKeys (type); std::ofstream f (argv[1], std::ofstream::binary | std::ofstream::out); if (f) @@ -34,8 +32,6 @@ int main (int argc, char * argv[]) else std::cout << "Can't create file " << argv[1] << std::endl; - if (type == i2p::data::SIGNING_KEY_TYPE_GOSTR3410_A_GOSTR3411) - i2p::crypto::TerminateGost (); i2p::crypto::TerminateCrypto (); return 0;