CRYPTO_LOCK_X509_STORE in OpenSSL 1.1.0

Swamy J-S swamy.j-s at in.abb.com
Mon Apr 15 11:25:55 UTC 2019


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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190415/51d78424/attachment-0001.html>


More information about the openssl-users mailing list