diff options
author | lloyd <[email protected]> | 2010-06-11 16:22:40 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-11 16:22:40 +0000 |
commit | 238fbfc13c9f703572b31d39a0c9a876ee63c869 (patch) | |
tree | 5b571787726419f723ce4c08f662eb1f6c4bf205 /src | |
parent | b7e44b278265b81fa935e0e58a17c684402056bf (diff) |
Oops. On a private key, call PKCS8::encode so the full key is exported
Diffstat (limited to 'src')
-rw-r--r-- | src/wrap/python/rsa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrap/python/rsa.cpp b/src/wrap/python/rsa.cpp index d0053ca5d..8b9fa80ea 100644 --- a/src/wrap/python/rsa.cpp +++ b/src/wrap/python/rsa.cpp @@ -40,7 +40,7 @@ class Py_RSA_PrivateKey { Pipe out; out.start_msg(); - X509::encode(*rsa_key, out, RAW_BER); + PKCS8::encode(*rsa_key, out, RAW_BER); out.end_msg(); return out.read_all_as_string(); } |