mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
Fixed start of retroshare-nogui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3670 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3a60e8cecb
commit
bb796fd6d6
1 changed files with 8 additions and 0 deletions
|
@ -89,6 +89,14 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
notify->setRsIface(iface);
|
notify->setRsIface(iface);
|
||||||
|
|
||||||
|
std::string preferredId, gpgId, gpgName, gpgEmail, sslName;
|
||||||
|
RsInit::getPreferedAccountId(preferredId);
|
||||||
|
|
||||||
|
if (RsInit::getAccountDetails(preferredId, gpgId, gpgName, gpgEmail, sslName))
|
||||||
|
{
|
||||||
|
RsInit::SelectGPGAccount(gpgId);
|
||||||
|
}
|
||||||
|
|
||||||
/* Key + Certificate are loaded into libretroshare */
|
/* Key + Certificate are loaded into libretroshare */
|
||||||
|
|
||||||
int retVal = RsInit::LockAndLoadCertificates(false);
|
int retVal = RsInit::LockAndLoadCertificates(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue