Major change to the way certificates are stored now defaults to ~/.retroshare/SSLID/

* supports Multiple Accounts on same computer.
	* Enabled libretroshare tests using Makefiles.
	* restructured RsInit functions: Config Data is now private.
	* switch OpenPGP on by default (added #define to rsinit).
	


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1451 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2009-07-30 21:27:47 +00:00
parent a7209f1001
commit a023a0bfcd
14 changed files with 1372 additions and 968 deletions

View file

@ -21,8 +21,7 @@ int main()
/* Select which GPG Keys we use */
/* print all keys */
mgr.printAllKeys();
mgr.printOwnKeys();
mgr.printKeys();
std::list<std::string> idList;
mgr.availablePGPCertificates(idList);
@ -36,7 +35,8 @@ int main()
fprintf(stderr, "Using GPG Certificate:%s \n", id.c_str());
std::string noname;
mgr.GPGInit(id, "noname", gpg_passwd);
mgr.GPGInit(id);
mgr.LoadGPGPassword(gpg_passwd);
/* Init SSL library */
mgr.InitAuth(NULL, NULL, NULL);