mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 15:35:49 -04:00
fixed certificate paste. We need more appropriate code at this place.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
73c8da5438
commit
a940537331
1 changed files with 4 additions and 1 deletions
|
@ -283,7 +283,10 @@ bool RetroShareLink::createPerson(const std::string& id)
|
||||||
|
|
||||||
bool RetroShareLink::createCertificate(const std::string& ssl_or_gpg_id)
|
bool RetroShareLink::createCertificate(const std::string& ssl_or_gpg_id)
|
||||||
{
|
{
|
||||||
std::string invite = rsPeers->GetRetroshareInvite(ssl_or_gpg_id, false) ;
|
// This is baaaaaad code:
|
||||||
|
// - we should not need to parse and re-read a cert in old format.
|
||||||
|
//
|
||||||
|
std::string invite = rsPeers->GetRetroshareInvite(ssl_or_gpg_id, false,true) ;
|
||||||
|
|
||||||
if(invite == "")
|
if(invite == "")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue