| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
get_verified_chain() and get_unverified_chain() accessed self._sslobj without the guard used by the other query methods, raising AttributeError after unwrap(). Return an empty list instead.
| Back | FazBrowse Home | New Git URL |
SSLSocket.get_verified_chain() and get_unverified_chain() accessed
self._sslobj without the _checkClosed() / None guard used by every other
query method, so they raised AttributeError when called after the TLS layer
was torn down (for example after unwrap()). Add the guard and return an empty
list, matching the value these methods return for an empty chain.