mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
change the cert to gpg + some ssl details
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3656eeb00b
commit
c6edff7df8
7 changed files with 194 additions and 203 deletions
|
@ -80,30 +80,9 @@ CryptoPage::load()
|
|||
void
|
||||
CryptoPage::loadPublicKey()
|
||||
{
|
||||
//std::cerr << "CryptoPage() getting Invite" << std::endl;
|
||||
|
||||
std::string invite = rsPeers->GetRetroshareInvite();
|
||||
|
||||
RsPeerDetails ownDetail;
|
||||
rsPeers->getPeerDetails(rsPeers->getOwnId(), ownDetail);
|
||||
invite += LOCAL_IP;
|
||||
invite += ownDetail.localAddr + ":";
|
||||
std::ostringstream out;
|
||||
out << ownDetail.localPort;
|
||||
invite += out.str() + ";";
|
||||
invite += "\n";
|
||||
invite += EXT_IP;
|
||||
invite += ownDetail.extAddr + ":";
|
||||
std::ostringstream out2;
|
||||
out2 << ownDetail.extPort;
|
||||
invite += out2.str() + ";";
|
||||
|
||||
ui.certtextEdit->setText(QString::fromStdString(invite));
|
||||
ui.certtextEdit->setText(QString::fromStdString(rsPeers->GetRetroshareInvite()));
|
||||
ui.certtextEdit->setReadOnly(true);
|
||||
ui.certtextEdit->setMinimumHeight(200);
|
||||
|
||||
//std::cerr << "CryptoPage() getting Invite: " << invite << std::endl;
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue