diff options
author | Hynek Schlawack <hs@ox.cx> | 2016-07-03 14:40:20 +0200 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-07-03 08:40:20 -0400 |
commit | 11e43adfe8c63ae28007a3deb85633929e564669 (patch) | |
tree | 6854207a2792f81a00bf9ef057e95f237564d269 /doc | |
parent | add5b07d03f9a8ed7121716d4eb0ab1ad0fbfddf (diff) | |
download | pyopenssl-11e43adfe8c63ae28007a3deb85633929e564669.tar.gz |
Fix memory leak in OpenSSL.crypto.dump_privatekey (#496)
* Fix memory leak in OpenSSL.crypto.dump_privatekey
* Add PR#
* Address feedback
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/crypto.rst | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst index 5f7df24..c6501b4 100644 --- a/doc/api/crypto.rst +++ b/doc/api/crypto.rst @@ -73,14 +73,7 @@ Certificate signing requests Private keys ~~~~~~~~~~~~ -.. py:function:: dump_privatekey(type, pkey[, cipher, passphrase]) - - Dump the private key *pkey* into a buffer string encoded with the type - *type*, optionally (if *type* is :py:const:`FILETYPE_PEM`) encrypting it - using *cipher* and *passphrase*. - - *passphrase* must be either a string or a callback for providing the - pass phrase. +.. autofunction:: dump_privatekey .. py:function:: load_privatekey(type, buffer[, passphrase]) |