diff options
author | Adam Langley <agl@google.com> | 2017-01-31 16:05:33 -0800 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-01-31 21:04:31 -0500 |
commit | 028391df5d84d9fae3433afdee9261d565900355 (patch) | |
tree | 1f7519c0b7a28658488b7fcfcf50033521c9a2df /src/tool_helpers.c | |
parent | a90a5bccd47ba5425949a51e6d77b91a2a1e7fe6 (diff) |
openssl: Don't use certificate after transferring ownership
SSL_CTX_add_extra_chain_cert takes ownership of the given certificate
while, despite the similar name, SSL_CTX_add_client_CA does not. Thus
it's best to call SSL_CTX_add_client_CA before
SSL_CTX_add_extra_chain_cert, while the code still has ownership of the
argument.
Closes https://github.com/curl/curl/pull/1236
Diffstat (limited to 'src/tool_helpers.c')
0 files changed, 0 insertions, 0 deletions