fixed build with recent libi2pd

This commit is contained in:
orignal 2020-11-14 19:58:40 -05:00
parent ab2043eeb6
commit 0222c3faa0
8 changed files with 9 additions and 9 deletions

View file

@ -12,7 +12,7 @@ int main (int argc, char * argv[])
std::cout << "Usage: keygen filename <signature type>" << std::endl;
return -1;
}
i2p::crypto::InitCrypto (false);
i2p::crypto::InitCrypto (false, true, true, false);
i2p::data::SigningKeyType type = i2p::data::SIGNING_KEY_TYPE_DSA_SHA1;
if (argc > 2) {
std::string str(argv[2]);