STINNER Victor added the comment:

>> Thanks again Mathieu Pasquet who reported the issue #22768.

> BTW for fingerprint check for self-signed certs I need binary form of 
> certificate `ssl_obj.getpeercert(binary_form=True)` but 
> `transp.get_extra_info('peercert')` returns a dict-based form.

Yes, it's exactly the use case described in #22768 ;-) But ssl_object extra 
info is more generic, it gives access to all SSL methods.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25214>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to