mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-05-01 13:12:30 +02:00
fixed #74
This commit is contained in:
parent
644df5b4ee
commit
86f1bf9fe7
2 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ int main(int argc, char * argv[])
|
|||
{
|
||||
if (argc > 1)
|
||||
{
|
||||
std::string arg = static_cast<std::string>(argv[1]);
|
||||
std::string arg (argv[1]);
|
||||
if (arg == "--usage" || arg == "--help" || arg == "-h")
|
||||
{
|
||||
std::cout << "The x25519 keys are used for authentication with an encrypted LeaseSet.\n"
|
||||
|
@ -57,7 +57,7 @@ int main(int argc, char * argv[])
|
|||
|
||||
BoxKeys newKeys = getKeyPair();
|
||||
|
||||
size_t len_out = 50;
|
||||
const size_t len_out = 50;
|
||||
char b64Public[len_out] = {0};
|
||||
char b64Private[len_out] = {0};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue