curl-library
Re: [RELEASE] curl and libcurl 7.40.1
Date: Wed, 25 Feb 2015 13:15:58 +0100
Daniel Stenberg in gmane.comp.web.curl.library (Wed, 25 Feb 2015 11:18:31 +0100 (CET)):
>On Wed, 25 Feb 2015, Jan Ehrhardt wrote:
>
>> When compiling with VC11 I am getting a lot of errors, starting with
>> OCSP_BASICRESP: undeclared identifier.
>
>That is quite surprising to me. Are you sure you're actually using up-to-date
>openssl headers?
Yes. Curl itself reports it as SSL Version: OpenSSL/1.0.1l. See for instance
https://phpdev.toolsforresearch.com/php-7.0.0-dev-nts-Win32-VC11-x86.htm
which is a phpinfo dump of my PHP7 build with Curl 7.40.0.
> openssl/ocsp.h seems to have been present for a long time in
>OpenSSL and openssl.c:1326 tries to take precautions against building with an
>unsupported version.
In the directory with my headers is a openssl/ocsp.h with for instance a
typedef struct ocsp_basic_response_st
{
OCSP_RESPDATA *tbsResponseData;
X509_ALGOR *signatureAlgorithm;
ASN1_BIT_STRING *signature;
STACK_OF(X509) *certs;
} OCSP_BASICRESP;
I will change the OCSP_RESPDATA in ocsp.h into something else to see if
that file is actually included. Then it should generate an error for
OCSP_RESPDATA.
Jan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-25