mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-29 02:51:45 -04:00
Ported branch commit 3143: corrected bug responsible for mixing IP lists between peers of same GPG id (connection attempt to other peer responded with connection to oneself). Added additional debug info in p3disc.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
540e99bc48
commit
b941d733cc
2 changed files with 10 additions and 2 deletions
|
@ -2048,6 +2048,10 @@ int AuthSSL::VerifyX509Callback(int preverify_ok, X509_STORE_CTX *ctx)
|
|||
//sslcert *cert = NULL;
|
||||
std::string certId;
|
||||
getX509id(X509_STORE_CTX_get_current_cert(ctx), certId);
|
||||
|
||||
if(certId == mConnMgr->getOwnId())
|
||||
return false ;
|
||||
|
||||
if (!mConnMgr->isFriend(certId)) {
|
||||
//we've got a new ssl id
|
||||
preverify_ok = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue