diff options
author | Maximilian Hils <git@maximilianhils.com> | 2023-02-13 13:01:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 07:01:47 -0500 |
commit | 669969ea7afa8a5f5f35a784a50acef9bea3952a (patch) | |
tree | 768460b6115d6179418554ca1d8ac5959a8a21d3 /src | |
parent | 23d990e95812c45c9a0ee1fc9b501a90ae9425aa (diff) | |
download | pyopenssl-git-669969ea7afa8a5f5f35a784a50acef9bea3952a.tar.gz |
Fix CI (#1185)
* Reformat code using black 23.x
* fix compat with tox 4
Diffstat (limited to 'src')
-rw-r--r-- | src/OpenSSL/SSL.py | 1 | ||||
-rw-r--r-- | src/OpenSSL/crypto.py | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py index dfbd109..c1fb0f5 100644 --- a/src/OpenSSL/SSL.py +++ b/src/OpenSSL/SSL.py @@ -1916,7 +1916,6 @@ class Connection: buf = _text_to_bytes_and_warn("buf", buf) with _ffi.from_buffer(buf) as data: - left_to_send = len(buf) total_sent = 0 diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index a9b673c..8b12769 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py @@ -2556,7 +2556,6 @@ class CRL: class PKCS7: - _pkcs7: Any def type_is_signed(self) -> bool: @@ -2920,7 +2919,6 @@ class _PassphraseHelper: def raise_if_problem(self, exceptionType: Type[Exception] = Error) -> None: if self._problems: - # Flush the OpenSSL error queue try: _exception_from_error_queue(exceptionType) |