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:
csoler 2012-08-14 18:57:45 +00:00
parent 73c8da5438
commit a940537331

View File

@ -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 == "")
{