This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, njs
Date 2017-04-24.07:32:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493019169.15.0.810159415023.issue30141@psf.upfronthosting.co.za>
In-reply-to
Content
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;
History
Date User Action Args
2017-04-24 07:32:49christian.heimessetrecipients: + christian.heimes, njs
2017-04-24 07:32:49christian.heimessetmessageid: <1493019169.15.0.810159415023.issue30141@psf.upfronthosting.co.za>
2017-04-24 07:32:49christian.heimeslinkissue30141 messages
2017-04-24 07:32:48christian.heimescreate