Merge pull request #2162 from PhenomRetroShare/Fix_FriendReqToaster

Fix Friend Request Toaster
This commit is contained in:
csoler 2020-12-14 20:55:33 +01:00 committed by GitHub
commit a53acee787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1368,6 +1368,9 @@ int AuthSSLimpl::VerifyX509Callback(int /*preverify_ok*/, X509_STORE_CTX* ctx)
rsEvents->postEvent(std::move(ev));
}
if (auth_diagnostic == RS_SSL_HANDSHAKE_DIAGNOSTIC_ISSUER_UNKNOWN)
RsServer::notify()->AddPopupMessage(RS_POPUP_CONNECT_ATTEMPT, pgpId.toStdString(), sslCn, sslId.toStdString()); /* notify Connect Attempt */
return verificationFailed;
}
#ifdef AUTHSSL_DEBUG
@ -1392,6 +1395,8 @@ int AuthSSLimpl::VerifyX509Callback(int /*preverify_ok*/, X509_STORE_CTX* ctx)
rsEvents->postEvent(std::move(ev));
}
RsServer::notify()->AddPopupMessage(RS_POPUP_CONNECT_ATTEMPT, pgpId.toStdString(), sslCn, sslId.toStdString()); /* notify Connect Attempt */
return verificationFailed;
}