Ticket #6024: tls_notify_6204_v4_startTLS.patch

File tls_notify_6204_v4_startTLS.patch, 499 bytes (added by shawnn, 7 years ago)

Added support for whenHandshakeDone when using startTLS, applies on top of amluto's tls_notify_6204_v4.patch

  • twisted/internet/_newtls.py

     
    142142
    143143    transport.getHandle = tlsProtocol.getHandle
    144144    transport.getPeerCertificate = tlsProtocol.getPeerCertificate
     145    transport.whenHandshakeDone = tlsProtocol.whenHandshakeDone
    145146
    146147    # Mark the transport as secure.
    147148    directlyProvides(transport, ISSLTransport)