diff options
Diffstat (limited to 'src/wrap')
-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(); } |