Antoine Pitrou added the comment: Here is an updated patch with proper releasing the EC_KEY structure.
(note that the patch has a slight performance implication: creating a SSLContext becomes more costly - around 100µs more here) ---------- Added file: http://bugs.python.org/file34567/ssl_ecdh_auto3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21015> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com