mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-14 01:23:13 -04:00
change the cert to gpg + some ssl details
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3656eeb00b
commit
c6edff7df8
7 changed files with 194 additions and 203 deletions
|
@ -653,6 +653,20 @@ std::string AuthSSL::OwnId()
|
|||
return id;
|
||||
}
|
||||
|
||||
std::string AuthSSL::getOwnLocation()
|
||||
{
|
||||
#ifdef AUTHSSL_DEBUG
|
||||
std::cerr << "AuthSSL::OwnId()";
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
sslMtx.lock(); /***** LOCK *****/
|
||||
|
||||
std::string location = mOwnCert->location;
|
||||
|
||||
sslMtx.unlock(); /**** UNLOCK ****/
|
||||
return location;
|
||||
}
|
||||
|
||||
//bool AuthSSL::getAllList(std::list<std::string> &ids)
|
||||
//{
|
||||
//#ifdef AUTHSSL_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue