summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2023-04-11 00:41:16 -0400
committerGitHub <noreply@github.com>2023-04-11 12:41:16 +0800
commitedf5bd5184cdb7c0df0eac5180bfa0818f62f517 (patch)
treeaceac5bb63622ac8783374d9846bed0c06805619 /tests
parentec7dbc4ee7e8c3ed9da71783b1f90d3904ec97d7 (diff)
downloadcryptography-edf5bd5184cdb7c0df0eac5180bfa0818f62f517.tar.gz
Remove unused parameter (#8707)
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/backends/test_openssl.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index 572431ebb..27a0b9528 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -161,16 +161,6 @@ class TestOpenSSL:
assert bn
assert backend._bn_to_int(bn) == value
- def test_int_to_bn_inplace(self):
- value = (2**4242) - 4242
- bn_ptr = backend._lib.BN_new()
- assert bn_ptr != backend._ffi.NULL
- bn_ptr = backend._ffi.gc(bn_ptr, backend._lib.BN_free)
- bn = backend._int_to_bn(value, bn_ptr)
-
- assert bn == bn_ptr
- assert backend._bn_to_int(bn_ptr) == value
-
def test_bn_to_int(self):
bn = backend._int_to_bn(0)
assert backend._bn_to_int(bn) == 0