- fixed inconsistency in parameter naming, causing error_string to be mixed up with gpg id (Not a bug).

- removed unimplemented entry loadCertificateFromFile()


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-01-19 13:43:35 +00:00
parent 13f2863569
commit e7536960c3
6 changed files with 18 additions and 27 deletions

View file

@ -544,9 +544,9 @@ void ConnectFriendWizard::accept()
if (!mCertificate.empty() && (accept_connection || sign))
{
std::string ssl_id, pgp_id ;
std::string pgp_id,ssl_id,error_string ;
if(!rsPeers->loadCertificateFromString(mCertificate,ssl_id,pgp_id))
if(!rsPeers->loadCertificateFromString(mCertificate,ssl_id,pgp_id,error_string))
{
std::cerr << "ConnectFriendWizard::accept(): cannot load that certificate." << std::endl;
return ;