diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-25 19:12:19 +0100 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-25 19:12:19 +0100 |
commit | 195a1ecb96d7ac7fc0d9ce39340e747531e5ad96 (patch) | |
tree | 1e83a50d95f92530dcce77897e5e35d6981fc168 /src | |
parent | 28fae4e437a8487e6d5414ce5e3f7904f412995d (diff) | |
download | cryptography-195a1ecb96d7ac7fc0d9ce39340e747531e5ad96.tar.gz cryptography-195a1ecb96d7ac7fc0d9ce39340e747531e5ad96.tar.bz2 cryptography-195a1ecb96d7ac7fc0d9ce39340e747531e5ad96.zip |
extra parens
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/backends/openssl/backend.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py index 8b332c53..76252404 100644 --- a/src/cryptography/hazmat/backends/openssl/backend.py +++ b/src/cryptography/hazmat/backends/openssl/backend.py @@ -1058,11 +1058,9 @@ class Backend(object): if res == 0: errors = self._consume_errors() assert errors[0][1:] == ( - ( - self._lib.ERR_LIB_RSA, - self._lib.RSA_F_RSA_SIGN, - self._lib.RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY - ) + self._lib.ERR_LIB_RSA, + self._lib.RSA_F_RSA_SIGN, + self._lib.RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY ) raise ValueError("Digest too big for RSA key") |