]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix OCSP error path
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 19 Feb 2015 11:32:05 +0000 (13:32 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 19 Feb 2015 11:32:05 +0000 (13:32 +0200)
commit710dfb4e3289e2ca433ebfc07d2e86c9705866d5
tree62dfcd5f7a4ad3588b07d833d0b70fcc79231055
parentbd7bb43784c5baa3d9220c88f3f51d18023a183b
OpenSSL: Fix OCSP error path

If addition of a peer issuer certificate fails, the certs pointer would
be NULL when being passed to sk_X509_push() for peer issuer's issuer.
Fix this by skipping addition of issuer's issue if issuer addition
fails.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/tls_openssl.c