]> git.ipfire.org Git - thirdparty/hostap.git/commit
HTTP: Fix OCSP error path
authorSubhani Shaik <subhanis@qca.qualcomm.com>
Tue, 17 Feb 2015 19:29:06 +0000 (11:29 -0800)
committerJouni Malinen <j@w1.fi>
Thu, 19 Feb 2015 11:29:55 +0000 (13:29 +0200)
commitbd7bb43784c5baa3d9220c88f3f51d18023a183b
treed799b61ce86dfb7214b81590f1c5f6d0f6f9c632
parent946572ca0e409d6c3eace2ee872058ea349bce68
HTTP: 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/utils/http_curl.c