diff options
| author | Steven Fackler <[email protected]> | 2016-01-30 13:12:06 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-01-30 13:12:06 -0800 |
| commit | 4e58fd10de3daa3eca08e906a4b2e4239ac6d37d (patch) | |
| tree | 1a320ec34f9d567dc5484365d88787edaec37b33 /openssl/src/stack.rs | |
| parent | Merge pull request #344 from sfackler/revert-336-x509-pky-clone (diff) | |
| download | rust-openssl-4e58fd10de3daa3eca08e906a4b2e4239ac6d37d.tar.xz rust-openssl-4e58fd10de3daa3eca08e906a4b2e4239ac6d37d.zip | |
Fix PKey RSA constructors
`set1` functions bump the object's refcount so we were previously
leaking the RSA object. Split the decode from PEM part out to a method
on RSA and use that in the PKey constructors.
Also make RSA a pointer and actually free it.
Diffstat (limited to 'openssl/src/stack.rs')
0 files changed, 0 insertions, 0 deletions