[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#828614: yara: FTBFS with openssl 1.1.0



* Kurt Roeckx:

>> crypto.h seems to have:
>> # if OPENSSL_API_COMPAT < 0x10100000L
>> [...]
>> #  define CRYPTO_num_locks()            (0)
>> #  define CRYPTO_set_locking_callback(func)
>> #  define CRYPTO_get_locking_callback()         (NULL)
>> #  define CRYPTO_set_add_lock_callback(func)
>> #  define CRYPTO_get_add_lock_callback()        (NULL)
>> 
>> I'll look into why they're inside this #if, I think that #if
>> should just get removed.
>
> When I test it myself, it just works?   It only fails when I
> actually try -DOPENSSL_API_COMPAT=0x10100000L

Shouldn't the constants that may be used with the callback function
before 1.1 (CRYPTO_LOCK, CRYPTO_UNLOCK, CRYPTO_READ, CRYPTO_WRITE)
be defined inside the "#if OPENSSL_API_COMPAT < 0x10100000L" block?

Cheers,
-Hilko



Reply to: