mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
return public key only for newkeys
This commit is contained in:
parent
60e4e52373
commit
75666e3e39
2
BOB.cpp
2
BOB.cpp
@ -162,7 +162,7 @@ namespace client
|
|||||||
{
|
{
|
||||||
LogPrint (eLogDebug, "BOB: newkeys");
|
LogPrint (eLogDebug, "BOB: newkeys");
|
||||||
m_Keys = i2p::data::PrivateKeys::CreateRandomKeys ();
|
m_Keys = i2p::data::PrivateKeys::CreateRandomKeys ();
|
||||||
SendReplyOK (m_Keys.ToBase64 ().c_str ());
|
SendReplyOK (m_Keys.GetPublic ().ToBase64 ().c_str ());
|
||||||
}
|
}
|
||||||
|
|
||||||
void BOBCommandSession::OuthostCommandHandler (const char * operand, size_t len)
|
void BOBCommandSession::OuthostCommandHandler (const char * operand, size_t len)
|
||||||
|
Loading…
Reference in New Issue
Block a user