mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05: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
@ -283,7 +283,10 @@ bool RetroShareLink::createPerson(const std::string& 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 == "")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user