aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2013-09-11 16:27:24 -0700
committerDavid Reid <dreid@dreid.org>2013-09-11 16:27:24 -0700
commit44ff8ea41be7e28c22f8f4904c9f3278b68e68a9 (patch)
tree80f8d3de901464b82f1b80f59f5a5e34ceb7842e
parent4c999642f82d1936bead7dce1b9e2fdab86dc208 (diff)
downloadcryptography-44ff8ea41be7e28c22f8f4904c9f3278b68e68a9.tar.gz
cryptography-44ff8ea41be7e28c22f8f4904c9f3278b68e68a9.tar.bz2
cryptography-44ff8ea41be7e28c22f8f4904c9f3278b68e68a9.zip
ModeWithNonce no longer exists.
-rw-r--r--cryptography/bindings/openssl/api.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/cryptography/bindings/openssl/api.py b/cryptography/bindings/openssl/api.py
index af7fe438..917c1846 100644
--- a/cryptography/bindings/openssl/api.py
+++ b/cryptography/bindings/openssl/api.py
@@ -76,8 +76,6 @@ class API(object):
assert evp_cipher != self._ffi.NULL
if isinstance(mode, interfaces.ModeWithInitializationVector):
iv_nonce = mode.initialization_vector
- elif isinstance(mode, interfaces.ModeWithNonce):
- iv_nonce = mode.nonce
else:
iv_nonce = self._ffi.NULL