Donald Stufft added the comment:

The reason I made a default argument to set_ecdh_curve is that I couldn't find 
any information about what happens if you set a ecdh curve _twice_ within a a 
OpenSSL SSL Context. So I played it safe and made it a default argument that 
only gets called if you haven't called it. That preserves the users ability to 
specify their own curve for sure.

----------

_______________________________________
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

Reply via email to