<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am upgrading the code from OpenSSL 1.0.1 to 3.0. I am getting following compilation errors. Could you please suggest appropriate changes for following-</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<ol>
<li>X509err(X509_F_X509_STORE_ADD_CERT,ERR_R_MALLOC_FAILURE);   error: 'X509err' was not declared in this scope</li><li> RSA *rsa = RSA_new(); error: 'rsa' was not declared in this scope<br>
</li><li>if(EVP_PKEY_set1_RSA(pkey, rsa)) error: 'EVP_PKEY_set1_RSA' was not declared in this scope<br>
</li><li> RSA_free(rsa); error: 'RSA_free' was not declared in this scope<br>
</li><li>RSA *rsa = EVP_PKEY_get1_RSA(privKey); error: 'EVP_PKEY_get1_RSA' was not declared in this scope<br>
</li><li> if(PEM_write_bio_RSA_PUBKEY(bio, rsa)) error: 'PEM_write_bio_RSA_PUBKEY' was not declared in this scope<br>
</li><li> RSA_get0_key(rsa, &n, NULL, NULL); error: 'RSA_get0_key' was not declared in this scope</li></ol>
<div>Thanking You In Anticipation,</div>
<div>Sanjeev Kumar Mishra</div>
<div><br>
</div>
</div>
<br clear="both">
Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.<BR>
</body>
</html>