Browse Source

return public key only for newkeys

pull/113/head
orignal 10 years ago
parent
commit
75666e3e39
  1. 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…
Cancel
Save