summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-03-15 13:13:58 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-03-15 13:13:58 -0400
commit61865171bab31d7f8db9611adc0c0274ca0b71cf (patch)
treeeed562ab04636b3a3b7d56defc8500f5c0d940a6
parent5130ad1f755ce0939ad51d88720a9b90fd8b3c00 (diff)
Whoops
-rw-r--r--paramiko/ecdsakey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py
index 2f5c2c31..1aef5418 100644
--- a/paramiko/ecdsakey.py
+++ b/paramiko/ecdsakey.py
@@ -187,7 +187,7 @@ class ECDSAKey(PKey):
def _to_der(self, key):
return key.private_bytes(
serialization.Encoding.DER,
- serialization.Format.TraditionalOpenSSL,
+ serialization.PrivateFormat.TraditionalOpenSSL,
serialization.NoEncryption(),
)