summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-02-09 16:52:41 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2019-02-09 16:52:41 +0000
commit03c7853479d0d58afa5edff4189846e73d15a567 (patch)
tree65eacaa54b0ea1b64838c6ebc191102b7db5d37d
parentb41162ed1ca78d3c980d2cb340acce3940605bef (diff)
line length
-rw-r--r--paramiko/kex_curve25519.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/paramiko/kex_curve25519.py b/paramiko/kex_curve25519.py
index fc13db7f..60fb2c7a 100644
--- a/paramiko/kex_curve25519.py
+++ b/paramiko/kex_curve25519.py
@@ -22,7 +22,9 @@ class KexCurve25519(object):
def _perform_exchange(self, peer_key):
secret = self.key.exchange(peer_key)
if constant_time.bytes_eq(secret, b"\x00" * 32):
- raise SSHException("peer's curve25519 public value has wrong order")
+ raise SSHException(
+ "peer's curve25519 public value has wrong order"
+ )
return secret
def start_kex(self):