[openssl-users] What to do with deprecation errors

Matt Caswell matt at openssl.org
Mon Oct 22 07:55:28 UTC 2018



On 21/10/2018 20:01, Skip Carter wrote:
> Thats what I originally thought.
> 
> I experimented with manually invoking the pre-compiler (cpp) and this
> is what I get:
> 
> 
> DEPRECATEDIN_1_2_0(int EC_GROUP_get_curve_GF2m(const EC_GROUP *group,  
>                                                                   
> BIGNUM *p,
>                                                BIGNUM *a, BIGNUM *b,
>                                                BN_CTX *ctx))
> the macro is not firing, shouldn't I get:
> 
> extern int EC_GROUP_get_curve_GF2m(const EC_GROUP *group,              
>                                                        BIGNUM *p,
>                                                BIGNUM *a, BIGNUM *b,
>    
>                                             BN_CTX *ctx);
> 
> 
> On Sun, 2018-10-21 at 18:28 +0000, Salz, Rich via openssl-users wrote:
>>>    And I still have the problem with those macros.
>>
>>   
>> The problem is almost definitely this:  the files that you are
>> compiling (not openssl) are picking up the wrong header files from
>> openssl.
>>

Does your opensslconf.h have the DEPRECATEDIN_1_2_0 macro defined in it?

Matt


More information about the openssl-users mailing list