[PyPy-issue] [issue710] ssl.getpeercert() broken in pypy1.5
Sebastian Spaeth
pypy-dev-issue at codespeak.net
Tue May 3 07:05:13 CEST 2011
Sebastian Spaeth <sebastian at sspaeth.de> added the comment:
Just one comment, while the linked program indeed shows the behavior that I
reported, I believe it might show another ssl bug. This line
ssl_sock = ssl.wrap_socket(s, ca_certs="test.crt", cert_reqs=ssl.CERT_REQUIRED)
is never supposed to succeeed when we don't actually have a valid server
certificate which can be confirmed with test.crt, but we crash in getpeercert()
anyway.
A simplified version of the "program to reproduce" is here:
http://paste.pocoo.org/show/381980/
_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue710>
_______________________________________________________
More information about the Pypy-issue
mailing list