Hi,
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-


  1.  X509err(X509_F_X509_STORE_ADD_CERT,ERR_R_MALLOC_FAILURE);   error: 
'X509err' was not declared in this scope
  2.   RSA *rsa = RSA_new(); error: 'rsa' was not declared in this scope
  3.  if(EVP_PKEY_set1_RSA(pkey, rsa)) error: 'EVP_PKEY_set1_RSA' was not 
declared in this scope
  4.   RSA_free(rsa); error: 'RSA_free' was not declared in this scope
  5.  RSA *rsa = EVP_PKEY_get1_RSA(privKey); error: 'EVP_PKEY_get1_RSA' was not 
declared in this scope
  6.   if(PEM_write_bio_RSA_PUBKEY(bio, rsa)) error: 'PEM_write_bio_RSA_PUBKEY' 
was not declared in this scope
  7.   RSA_get0_key(rsa, &n, NULL, NULL); error: 'RSA_get0_key' was not 
declared in this scope

Thanking You In Anticipation,
Sanjeev Kumar Mishra


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.

Reply via email to