diff options
Diffstat (limited to 'src/OpenSSL/_util.py')
-rw-r--r-- | src/OpenSSL/_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OpenSSL/_util.py b/src/OpenSSL/_util.py index cba72ad..b68b11e 100644 --- a/src/OpenSSL/_util.py +++ b/src/OpenSSL/_util.py @@ -58,7 +58,7 @@ def make_assert(error): """ If ok is not true-ish, retrieve the error from OpenSSL and raise it. """ - if not ok: + if ok is not True: exception_from_error_queue(error) return openssl_assert |