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