From a8b4ba046955fdae271c8fe57fb92c53f99096cb Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 7 Jun 2014 12:52:37 -0700 Subject: Another small cleanup --- cryptography/hazmat/backends/openssl/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptography/hazmat/backends/openssl/backend.py b/cryptography/hazmat/backends/openssl/backend.py index 7746dafb..ab3f9471 100644 --- a/cryptography/hazmat/backends/openssl/backend.py +++ b/cryptography/hazmat/backends/openssl/backend.py @@ -905,7 +905,7 @@ class Backend(object): return False # We only support ECDSA right now. - if isinstance(signature_algorithm, ec.ECDSA) is False: + if not isinstance(signature_algorithm, ec.ECDSA): return False # Before 0.9.8m OpenSSL can't cope with digests longer than the curve. -- cgit v1.2.3