aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/stack.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2016-08-17 19:30:57 -0700
committerSteven Fackler <[email protected]>2016-08-17 19:30:57 -0700
commitcd69343d67081ab9c070f21d58918433a44f97bf (patch)
tree34367513c37714a94cad3ccd0326f82ee796795b /openssl/src/stack.rs
parentIgnore flickering test on windows (diff)
downloadrust-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