Help Required For Code Changes While Upgrading OpenSSL 1.0.1 to 3.0

Kumar Mishra, Sanjeev Sanjeev.Kumar-Mishra at rbbn.com
Wed Oct 20 09:57:02 UTC 2021


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20211020/e52018d8/attachment.html>


More information about the openssl-users mailing list