mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-26 07:55:44 -04:00
improved display of tor process completion
This commit is contained in:
parent
7e6156566a
commit
40b965cab1
7 changed files with 73 additions and 30 deletions
|
@ -86,13 +86,14 @@ void AddOnionCommand::onReply(int statusCode, const ByteArray &data)
|
|||
const ByteArray keyPrefix("PrivateKey=");
|
||||
const ByteArray sidPrefix("ServiceID=");
|
||||
|
||||
if(data.startsWith("ServiceID=")){
|
||||
if(data.startsWith(sidPrefix))
|
||||
{
|
||||
ByteArray service_id = data.mid(sidPrefix.size());
|
||||
m_service->setServiceId(service_id);
|
||||
}
|
||||
|
||||
if (data.startsWith(keyPrefix)) {
|
||||
|
||||
if (data.startsWith(keyPrefix))
|
||||
{
|
||||
ByteArray keyData(data.mid(keyPrefix.size()));
|
||||
CryptoKey key;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue