From a9405373319e85ec135da6693c4c5465349c8773 Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 14 Aug 2012 18:57:45 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/RetroShareLink.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/RetroShareLink.cpp b/retroshare-gui/src/gui/RetroShareLink.cpp index 74b7704c4..5b83e55ca 100644 --- a/retroshare-gui/src/gui/RetroShareLink.cpp +++ b/retroshare-gui/src/gui/RetroShareLink.cpp @@ -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 == "") {