diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-17 21:39:43 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-20 16:53:04 -0500 |
commit | 73dd4d5bd713f80fc0ffe04921d61d993437d458 (patch) | |
tree | 182020b498764a80791dd285645968b76cca507c | |
parent | 27f9ca663def6fdccd97297ef40c55923a43394a (diff) | |
download | cryptography-73dd4d5bd713f80fc0ffe04921d61d993437d458.tar.gz cryptography-73dd4d5bd713f80fc0ffe04921d61d993437d458.tar.bz2 cryptography-73dd4d5bd713f80fc0ffe04921d61d993437d458.zip |
remove redundant blinding
-rw-r--r-- | cryptography/hazmat/backends/openssl/backend.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cryptography/hazmat/backends/openssl/backend.py b/cryptography/hazmat/backends/openssl/backend.py index 8b721e84..d7f32cd3 100644 --- a/cryptography/hazmat/backends/openssl/backend.py +++ b/cryptography/hazmat/backends/openssl/backend.py @@ -532,8 +532,6 @@ class Backend(object): def _decrypt_rsa_098(self, private_key, ciphertext, padding_enum): rsa_cdata = self._rsa_cdata_from_private_key(private_key) rsa_cdata = self._ffi.gc(rsa_cdata, self._lib.RSA_free) - res = self._lib.RSA_blinding_on(rsa_cdata, self._ffi.NULL) - assert res == 1 key_size = self._lib.RSA_size(rsa_cdata) assert key_size > 0 buf = self._ffi.new("unsigned char[]", key_size) |