Re: [exim] compiling 4.91 under FreeBSD

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: Re: [exim] compiling 4.91 under FreeBSD
On 16/04/18 18:12, Viktor Dukhovni via Exim-users wrote:
>> tls-openssl.c: In function `tls_refill':
>> tls-openssl.c:2499: error: structure has no member named `verify_stack'
>> tls-openssl.c:2502: error: structure has no member named `verify_stack'
>> tls-openssl.c: In function `tls_close':
>> tls-openssl.c:2778: error: structure has no member named `verify_stack'
>> tls-openssl.c:2779: error: structure has no member named `verify_stack'
>> *** Error code 1
>> Stop in /usr/ports/mail/exim/work/exim-4.91/build-FreeBSD-i386.
>>
>> # /usr/local/bin/openssl version
>> OpenSSL 1.0.2o 27 Mar 2018
>
> The structure in question has that field subject to "#ifndef DISABLE_OCSP":
>
> https://github.com/Exim/exim/blob/6372d4c990f39ba6ad84a91af0a3a61a63bd50a3/src/src/tls-openssl.c#L155
>
> so its use should also be similarly subject to the same constraint.


Indeed; that's a bug.

Apologies, Lena - you'll need to either add #ifndef guards for those
lines, or build with OCSP support.
--
Cheers,
Jeremy