Re: CRYPTO_LOCK_X509_STORE in OpenSSL 1.1.0

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

 




On 15/04/2019 12:25, Swamy J-S wrote:
> Hi All,
> 
> 
> I updated openssl from 1.0.2n to 1.1.0g recently and facing some errors in
> building my application because many functions and structures are opaque now in
> 1.1.0g. Errors am getting are as below :
> 
> 
> error: ‘CRYPTO_LOCK_X509_STORE’ undeclared (first use in this function); did you
> mean ‘CRYPTO_EX_INDEX_X509_STORE’?
>              CRYPTO_w_lock(CRYPTO_LOCK_X509_STORE);
>                            ^~~~~~~~~~~~~~~~~~~~~~
>                            CRYPTO_EX_INDEX_X509_STORE
> 
>  warning: implicit declaration of function ‘CRYPTO_w_lock’; did you mean
> ‘CRYPTO_zalloc’? [-Wimplicit-function-declaration]
>              CRYPTO_w_lock(CRYPTO_LOCK_X509_STORE);
>              ^~~~~~~~~~~~~
>              CRYPTO_zalloc
> 
> So what is the alternate option available for "CRYPTO_LOCK_X509_STORE" and
> "CRYPTO_w_lock" in openssl 1.1.0g ?
> 

What are you attempting to do that requires you to acquire this lock? The API
functions should acquire and release the lock automatically where appropriate.

Matt



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux