diff options
author | Erik Johansson <erik@ejohansson.se> | 2015-10-09 21:02:13 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-10-11 23:14:04 +0200 |
commit | 3ad83bc3a623758a53496dbb88be48fd5e190aca (patch) | |
tree | 55427ba22ce4ea47b1d7c03c8ae5d5ebb8807871 /src/tool_helpers.c | |
parent | 13ddb9e54afe9a3f43b4f6f33d3a8ff51d46f2c2 (diff) |
openssl: Fix set up of pkcs12 certificate verification chain
sk_X509_pop will decrease the size of the stack which means that the loop would
end after having added only half of the certificates.
Also make sure that the X509 certificate is freed in case
SSL_CTX_add_extra_chain_cert fails.
Diffstat (limited to 'src/tool_helpers.c')
0 files changed, 0 insertions, 0 deletions