summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-02-09 17:04:10 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2019-02-09 17:04:10 +0000
commitb2ab3c607b1bd8e47ef717b81fe220db49962ac7 (patch)
tree0f2f821c27ca2daf5d424d5e831f7b5e1e7aec51
parent80f81e6ef98d492ad652643289969e0f80ecada6 (diff)
sigh
-rw-r--r--paramiko/kex_curve25519.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/kex_curve25519.py b/paramiko/kex_curve25519.py
index b092afae..4b9f6b00 100644
--- a/paramiko/kex_curve25519.py
+++ b/paramiko/kex_curve25519.py
@@ -20,7 +20,8 @@ class KexCurve25519(object):
self.transport = transport
self.key = None
- def is_available(self):
+ @classmethod
+ def is_available(cls):
try:
X25519PrivateKey.generate()
except UnsupportedAlgorithm: