Help Required For Code Changes While Upgrading OpenSSL 1.0.1 to 3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux