mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-05-01 13:12:30 +02:00
clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
07c5391b92
commit
5f45990dff
11 changed files with 567 additions and 574 deletions
|
@ -13,7 +13,7 @@ int main (int argc, char * argv[])
|
|||
return -1;
|
||||
}
|
||||
i2p::crypto::InitCrypto (false, true, true, false);
|
||||
i2p::data::SigningKeyType type = i2p::data::SIGNING_KEY_TYPE_DSA_SHA1;
|
||||
i2p::data::SigningKeyType type = i2p::data::SIGNING_KEY_TYPE_DSA_SHA1;
|
||||
if (argc > 2) {
|
||||
std::string str(argv[2]);
|
||||
type = NameToSigType(str);
|
||||
|
@ -30,7 +30,7 @@ int main (int argc, char * argv[])
|
|||
std::cout << "Destination " << keys.GetPublic ()->GetIdentHash ().ToBase32 () << " created" << std::endl;
|
||||
}
|
||||
else
|
||||
std::cout << "Can't create file " << argv[1] << std::endl;
|
||||
std::cout << "Can't create file " << argv[1] << std::endl;
|
||||
|
||||
i2p::crypto::TerminateCrypto ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue