aboutsummaryrefslogtreecommitdiff
path: root/lib/http_negotiate.c
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2017-01-31 16:05:33 -0800
committerJay Satiro <raysatiro@yahoo.com>2017-01-31 21:04:31 -0500
commit028391df5d84d9fae3433afdee9261d565900355 (patch)
tree1f7519c0b7a28658488b7fcfcf50033521c9a2df /lib/http_negotiate.c
parenta90a5bccd47ba5425949a51e6d77b91a2a1e7fe6 (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 'lib/http_negotiate.c')
0 files changed, 0 insertions, 0 deletions