diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-25 19:07:21 +0100 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-25 19:07:21 +0100 |
commit | 28fae4e437a8487e6d5414ce5e3f7904f412995d (patch) | |
tree | 1c673ef1f31cc7c435c17999ecfe25449efcd785 | |
parent | 4e4a9ba524efe4963961c62c6da915a834ca185c (diff) | |
download | cryptography-28fae4e437a8487e6d5414ce5e3f7904f412995d.tar.gz cryptography-28fae4e437a8487e6d5414ce5e3f7904f412995d.tar.bz2 cryptography-28fae4e437a8487e6d5414ce5e3f7904f412995d.zip |
== instead of in
-rw-r--r-- | src/cryptography/hazmat/backends/openssl/backend.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py index dd89623e..8b332c53 100644 --- a/src/cryptography/hazmat/backends/openssl/backend.py +++ b/src/cryptography/hazmat/backends/openssl/backend.py @@ -1057,12 +1057,12 @@ class Backend(object): ) if res == 0: errors = self._consume_errors() - assert errors[0][1:] in ( + 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 - ), + ) ) raise ValueError("Digest too big for RSA key") |