Grant Bremer added the comment:

Attached is a patch for the 3.5 branch. The test is minimal -- we are relying 
on the underlying OpenSSL library and its context to manage the data. I have 
removed the data validation from the set function -- OpenSSL seems happy to 
accept negative numbers for depth, even if that is a non-sensical value. I have 
started on the documentation, and can do a more comprehensive job if the code 
section is good or mostly good. I'll do the same for the 2.7 patch.

----------
Added file: http://bugs.python.org/file40483/verify_depth-3.5.patch

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

Reply via email to