[issue25115] SSL_set_verify_depth not exposed by the ssl module

STINNER Victor report at bugs.python.org
Tue Sep 15 10:43:17 CEST 2015


STINNER Victor added the comment:

+    if (depth < 0 || depth > 100) {

Why 100 and not 10 or 1000?

SSL_CTX_set_verify_depth() is unable to check the depth?

The patch lacks unit tests and documentation.

The patch is for Python 2.7, it would be better to write a patch for the default branch (future Python 3.6).

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25115>
_______________________________________


More information about the Python-bugs-list mailing list