return public key only for newkeys

This commit is contained in:
orignal 2014-12-02 21:55:30 -05:00
parent 60e4e52373
commit 75666e3e39

View File

@ -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)