aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib1501.c
diff options
context:
space:
mode:
authorErik Johansson <erik@ejohansson.se>2015-10-09 21:02:13 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-10-11 23:14:04 +0200
commit3ad83bc3a623758a53496dbb88be48fd5e190aca (patch)
tree55427ba22ce4ea47b1d7c03c8ae5d5ebb8807871 /tests/libtest/lib1501.c
parent13ddb9e54afe9a3f43b4f6f33d3a8ff51d46f2c2 (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 'tests/libtest/lib1501.c')
0 files changed, 0 insertions, 0 deletions