diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-08-26 22:50:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-26 21:50:40 -0500 |
commit | 048821406137d6aba237c6309009dbe744548208 (patch) | |
tree | f38d7d3dacfde9a4ee92dc6754a1bf57941beca8 /src/OpenSSL/SSL.py | |
parent | ffab488a52ff60f19d93880e9378f1ebbfda5c85 (diff) | |
download | pyopenssl-048821406137d6aba237c6309009dbe744548208.tar.gz |
I'm back in black (#941)
Diffstat (limited to 'src/OpenSSL/SSL.py')
-rw-r--r-- | src/OpenSSL/SSL.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py index d889624..bbb721c 100644 --- a/src/OpenSSL/SSL.py +++ b/src/OpenSSL/SSL.py @@ -972,7 +972,11 @@ class Context(object): """ buf = _text_to_bytes_and_warn("buf", buf) _openssl_assert( - _lib.SSL_CTX_set_session_id_context(self._context, buf, len(buf),) + _lib.SSL_CTX_set_session_id_context( + self._context, + buf, + len(buf), + ) == 1 ) @@ -1468,9 +1472,6 @@ class Context(object): class Connection(object): - """ - """ - _reverse_mapping = WeakValueDictionary() def __init__(self, context, socket=None): |