Antoine Pitrou added the comment: I don't have LibreSSL to test but the patch sounds fine to me. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21976> _______________________________________