diff options
| author | Steven Fackler <[email protected]> | 2016-08-17 19:30:57 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-08-17 19:30:57 -0700 |
| commit | cd69343d67081ab9c070f21d58918433a44f97bf (patch) | |
| tree | 34367513c37714a94cad3ccd0326f82ee796795b /openssl/src/stack.rs | |
| parent | Ignore flickering test on windows (diff) | |
| download | rust-openssl-cd69343d67081ab9c070f21d58918433a44f97bf.tar.xz rust-openssl-cd69343d67081ab9c070f21d58918433a44f97bf.zip | |
Fix SslContext::add_extra_chain_cert
SSL_CTX_add_extra_chain_cert assumes ownership of the certificate, so
the method really needs to take an X509 by value. Work around this by
manually cloning the cert.
This method has been around for over a year but I'm guessing nobody
actually used it since it produces a nice double free into segfault!
Diffstat (limited to 'openssl/src/stack.rs')
0 files changed, 0 insertions, 0 deletions