cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] openssl: try to avoid accessing OCSP structs when possible (was: Re: OpenSSL OCSP API breakage)

From: Alessandro Ghedini <alessandro_at_ghedini.me>
Date: Fri, 20 Mar 2015 13:32:43 +0100

On Fri, Mar 20, 2015 at 01:15:17PM +0100, Alessandro Ghedini wrote:
> On ven, mar 20, 2015 at 11:21:42 +0100, Daniel Stenberg wrote:
> > vtls/openssl.c:1399:36: error: dereferencing pointer to incomplete type
> > if(!sk_OCSP_SINGLERESP_value(br->tbsResponseData->responses, i))
> > ^
>
> This and the other sk_OCSP_SINGLERESP_* calls can be replaced by the respective
> OCSP_resp_* calls, I can write a patch for that.

See attached patch.

Cheers

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2015-03-20