Christian Heimes added the comment:

Yes, from an application perspective there is an import difference between 
X509_STORE_CTX_get1_chain() and SSL_get0_verified_chain(). X509_STORE_CTX is a 
temporary object. It is only available during the handshake and while the trust 
chain is built and verified. Once the chain is verified, it is no longer 
available.

SSL_get0_verified_chain() sounds like an actual good solution. Thanks for 
pointing it out.

----------

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

Reply via email to