Message198443
> I'm not sure people depend on getpeercert() returning None before the
> handshake is done, or perhaps by accident?
Ah, no, I meant that people may depend on the documented behaviour of .getpeercert's returning an empty dict (which I mixed up with returning None) if the certificate was not validated.
That this dictionary's contents depends on the validation is a bit quirky but it's documented so changing that one would surely break existing code. |
|
Date |
User |
Action |
Args |
2013-09-26 13:20:50 | dsuch | set | recipients:
+ dsuch, janssen, pitrou, giampaolo.rodola, christian.heimes, docs@python |
2013-09-26 13:20:50 | dsuch | set | messageid: <1380201650.8.0.07900278874.issue19095@psf.upfronthosting.co.za> |
2013-09-26 13:20:50 | dsuch | link | issue19095 messages |
2013-09-26 13:20:50 | dsuch | create | |
|