diff options
author | Glyph <glyph@twistedmatrix.com> | 2015-06-26 22:08:44 -0700 |
---|---|---|
committer | Glyph <glyph@twistedmatrix.com> | 2015-06-26 22:08:44 -0700 |
commit | b51d246eb6ccaed7920ba6dd6a816f74d1158c16 (patch) | |
tree | ec8c1c20f55da6e19df03f83cf82eb17c705b54c /tests | |
parent | b3d37a5d485bcd295d1933d638180e9cd5d23478 (diff) | |
download | cryptography-b51d246eb6ccaed7920ba6dd6a816f74d1158c16.tar.gz cryptography-b51d246eb6ccaed7920ba6dd6a816f74d1158c16.tar.bz2 cryptography-b51d246eb6ccaed7920ba6dd6a816f74d1158c16.zip |
remove remaining vestiges, make adding twice work
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 4 | ||||
-rw-r--r-- | tests/hazmat/bindings/test_openssl.py | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index 8846491a..b24f03a8 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -259,9 +259,7 @@ class TestOpenSSLRandomEngine(object): stdout=out ) - osrandom_engine_name = backend._ffi.string( - backend._lib.Cryptography_osrandom_engine_name - ) + osrandom_engine_name = backend._binding._osrandom_engine_name assert engine_name.read().encode('ascii') == osrandom_engine_name diff --git a/tests/hazmat/bindings/test_openssl.py b/tests/hazmat/bindings/test_openssl.py index e6d6fc45..fe78b0ba 100644 --- a/tests/hazmat/bindings/test_openssl.py +++ b/tests/hazmat/bindings/test_openssl.py @@ -89,7 +89,7 @@ class TestOpenSSL(object): def test_add_engine_more_than_once(self): b = Binding() - res = b.lib.Cryptography_add_osrandom_engine() + res = b._register_osrandom_engine() assert res == 2 def test_ssl_ctx_options(self): |