Comment 2 for bug 246080

Revision history for this message
Big Muscle (bigmuscle) wrote :

I don't know whether the fix is correct. Because when you try to connect to untrusted user, SSL_accept/SSL_connect will return with error, so SocketException will be thrown later and it will be caugth in ConnectionManager::accept/xxxConnect, so UserConnectionListener::Connected will be never processed.

I have seen there's some possibility to check whether certificates were verified correctly when SSL_accept/SSL_connect returns with error, so it could be possible solution.