[openssl-dev] On SSLv23_method() drop and TLS_method() introduction

Gisle Vanem gvanem at yahoo.no
Wed May 20 10:18:35 UTC 2015


Salz, Rich wrote:

>>    c_zlib.c:113:5: warning: excess elements in struct initializer
>>        NULL,
>>      ^~~~
>
> Are you sure you have an accurate copy of master?
>
> The EX_DATA was removed in 9a555706a3fb8f6622e1049ab510a12f4e1bc6a2 as part of making the COMP structures opaque.


He's right, the c_zlib.c is broken if you compile with '-DZLIB'
(and not '-DZLIB_SHARED'):

crypto/comp/c_zlib.c(115) : error C2078: too many initializers
crypto/comp/c_zlib.c(203) : error C2039: 'ex_data' : is not a member of 'comp_ctx_st'
         f:\mingw32\src\inet\crypto\openssl\crypto\comp\comp_lcl.h(68) : see declaration of 'comp_ctx_st'
crypto/comp/c_zlib.c(203) : error C2198: 'CRYPTO_new_ex_data' : too few arguments for call

Try it and see for yourself.

-- 
--gv


More information about the openssl-dev mailing list