homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jonathan Kamens
Recipients Jonathan Kamens, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016年02月08日.20:09:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454962188.81.0.985392423363.issue26313@psf.upfronthosting.co.za>
In-reply-to
Content
In ssl.py:
 def _load_windows_store_certs(self, storename, purpose):
 certs = bytearray()
 for cert, encoding, trust in enum_certificates(storename):
 # CA certs are never PKCS#7 encoded 
 if encoding == "x509_asn":
 if trust is True or purpose.oid in trust:
 certs.extend(cert)
 self.load_verify_locations(cadata=certs)
 return certs
The line right before the return statement will raise an exception if certs is empty.
It should be protected with "if certs:" as it is elsewhere in this file.
History
Date User Action Args
2016年02月08日 20:09:48Jonathan Kamenssetrecipients: + Jonathan Kamens, paul.moore, tim.golden, zach.ware, steve.dower
2016年02月08日 20:09:48Jonathan Kamenssetmessageid: <1454962188.81.0.985392423363.issue26313@psf.upfronthosting.co.za>
2016年02月08日 20:09:48Jonathan Kamenslinkissue26313 messages
2016年02月08日 20:09:48Jonathan Kamenscreate

AltStyle によって変換されたページ (->オリジナル) /