<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi All,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">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 :
<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);">error: ‘</span><span style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);">CRYPTO_LOCK_X509_STORE</span><span style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);">’
 undeclared (first use in this function); did you mean ‘CRYPTO_EX_INDEX_X509_STORE’?</span><br>
<span style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);">             CRYPTO_w_lock(CRYPTO_LOCK_X509_STORE);</span><br>
<span style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);">                           ^~~~~~~~~~~~~~~~~~~~~~</span><br>
<span style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);">                           CRYPTO_EX_INDEX_X509_STORE</span></div>
<div><span style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);"><br>
</span></div>
<div><span style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);">
<div> <span style="background-color: rgb(255, 255, 0); color: rgb(75, 165, 36);">warning: implicit declaration of function ‘CRYPTO_w_lock’; did you mean ‘CRYPTO_zalloc’? [-Wimplicit-function-declaration]</span><br>
<span style="background-color: rgb(255, 255, 0); color: rgb(75, 165, 36);">             CRYPTO_w_lock(CRYPTO_LOCK_X509_STORE);</span><br>
<span style="background-color: rgb(255, 255, 0); color: rgb(75, 165, 36);">             ^~~~~~~~~~~~~</span><br>
<span style="background-color: rgb(255, 255, 0); color: rgb(75, 165, 36);">             CRYPTO_zalloc</span><br>
</div>
</span><br>
</div>
<p style="margin-top:0;margin-bottom:0">So what is the alternate option available for "<span>CRYPTO_LOCK_X509_STORE" and "CRYPTO_w_lock" in openssl 1.1.0g ?</span><br>
</p>
<p></p>
</div>
</body>
</html>