Nathaniel Smith <n...@pobox.com> added the comment:

PyOpenSSL supports renegotiation, and I've used it for writing exactly this 
kind of test. Might be easier than wrapping a test harness around the 'openssl' 
command.

For extra fun, openssl itself doesn't fully support renegotiation on duplex 
connections, even if your code works correctly: 
http://openssl.6102.n7.nabble.com/TLS-renegotiation-failure-on-receiving-application-data-during-handshake-td48127.html

----------
nosy: +njs

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33062>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to