Author: Amaury Forgeot d'Arc <[email protected]>
Branch: stdlib-2.7.3
Changeset: r55650:3d4685c9e8c0
Date: 2012-06-13 19:48 +0200
http://bitbucket.org/pypy/pypy/changeset/3d4685c9e8c0/
Log: CPython Issue #13034: When decoding some SSL certificates, the
subjectAltName extension could be unreported.
diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py
--- a/pypy/module/_ssl/interp_ssl.py
+++ b/pypy/module/_ssl/interp_ssl.py
@@ -547,7 +547,7 @@
try:
alt_names_w = []
- i = 0
+ i = -1
while True:
i = libssl_X509_get_ext_by_NID(
certificate, NID_subject_alt_name, i)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit