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 ?

Reply via email to