diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2016-04-28 15:38:36 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-04-28 15:38:36 -0700 |
commit | 9cf960c28c5d90ac0595b235f9c743c69f010ded (patch) | |
tree | c62550ec5e08d531cfddcae22cc92215dd6478f9 | |
parent | bb21c811d9159732d2f60e85961972a3bfc23afc (diff) |
Patch fix via @alex on #731, tests pass locally again
-rw-r--r-- | paramiko/ecdsakey.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py index 2825a305..d435603d 100644 --- a/paramiko/ecdsakey.py +++ b/paramiko/ecdsakey.py @@ -131,7 +131,7 @@ class ECDSAKey(PKey): pointinfo = msg.get_binary() try: numbers = ec.EllipticCurvePublicNumbers.from_encoded_point( - ec.SECP256R1(), pointinfo + self.ecdsa_curve.curve_class(), pointinfo ) except ValueError: raise SSHException("Invalid public key") |