summaryrefslogtreecommitdiffhomepage
path: root/paramiko/transport.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r--paramiko/transport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index 120f9e84..1de6ff09 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -1662,7 +1662,7 @@ class Transport (threading.Thread, ClosingContextManager):
elif name.endswith("-ctr"):
# CTR modes, we need a counter
counter = Counter.new(nbits=self._cipher_info[name]['block-size'] * 8, initial_value=util.inflate_long(iv, True))
- return self._cipher_info[name]['class'].new(key, self._cipher_info[name]['mode'], iv, counter)
+ return self._cipher_info[name]['class'].new(key, self._cipher_info[name]['mode'], '', counter)
else:
return self._cipher_info[name]['class'].new(key, self._cipher_info[name]['mode'], iv)