Christian Heimes added the comment:
The PR doesn't fix all bugs with the current approach. In the auto-handshake
case, the struct members peer_cert and handshake_done are not set correctly.
I'll look into the matter. Perhaps I can set them in the handshake or verify
callback.
if (self->peer_cert)
X509_free (self->peer_cert);
self->peer_cert = SSL_get_peer_certificate(self->ssl);
self->handshake_done = 1;
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue30141>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com