summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Wason <rectalogic@rectalogic.com>2019-02-09 11:41:40 -0500
committerAndrew Wason <rectalogic@rectalogic.com>2019-02-09 11:51:20 -0500
commite5f47b5182c16c0e3bf5d91b2965f63f3c9ca6de (patch)
tree076ba909b17bb39eee30df90fc5d3f50155dff72
parent893cda63da0f708e4c335a69003746c32ad51895 (diff)
Fix line length
-rw-r--r--paramiko/ecdsakey.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py
index b607eee1..353c5f9e 100644
--- a/paramiko/ecdsakey.py
+++ b/paramiko/ecdsakey.py
@@ -160,9 +160,10 @@ class ECDSAKey(PKey):
pointinfo = msg.get_binary()
try:
- self.verifying_key = ec.EllipticCurvePublicKey.from_encoded_point(
+ key = ec.EllipticCurvePublicKey.from_encoded_point(
self.ecdsa_curve.curve_class(), pointinfo
)
+ self.verifying_key = key
except ValueError:
raise SSHException("Invalid public key")