AE-1597 Updated deprecated openssl API's with new API's in openssl3.0

Review Request #907 — Created June 5, 2025 and submitted

mmiriam
AMP
amp_4_0
AE-1597
ngurunathan, pradeep, prajesh

AE-1597 Updated deprecated openssl API's with new API's in openssl3.0



Description From Last Updated

free ctx

prajeshprajesh

free ctx

prajeshprajesh

free CTX

prajeshprajesh

free ctx

prajeshprajesh

free

prajeshprajesh

free

prajeshprajesh

call free wherever needed.

prajeshprajesh

Can this be python3 and use python3 as a softlink to /usr/bin/python3.13. That when we change the python version we …

prajeshprajesh

dont we have to cleanup ?

prajeshprajesh

Earlier change seems to be correct. Now memory is not allocated for ctx. This might break the functionality. Pls double …

prajeshprajesh

YACC_DEBUG needed?

prajeshprajesh

chk why we need this change?

prajeshprajesh

const EVP_MD md_type = EVP_sha256(); // Example: SHA256 if (!EVP_DigestInit_ex(mdctx, md_type, NULL)) { / Handle error */ } Receommended approach …

prajeshprajesh
prajesh
mmiriam
mmiriam
prajesh
  1. Ship It!
  2. 
      
mmiriam
mmiriam
prajesh
  1. 
      
  2. Can this be python3 and use python3 as a softlink to /usr/bin/python3.13. That when we change the python version we need to change it in one place? Check with Peri once.

    1. I check with peri. He said he is going to fix it in next PR

  3. branches/amp_4_0/src/backend/backend.c (Diff revision 4)
     
     

    dont we have to cleanup ?

  4. 
      
prajesh
  1. 
      
  2. branches/amp_4_0/src/backend/recovery.c (Diff revision 5)
     
     

    Earlier change seems to be correct. Now memory is not allocated for ctx. This might break the functionality. Pls double check on this.

  3. branches/amp_4_0/src/generator/Makefile (Diff revision 5)
     
     

    YACC_DEBUG needed?

  4. branches/amp_4_0/tools/sign_pack.c (Diff revision 5)
     
     

    chk why we need this change?

  5. branches/amp_4_0/tools/sign_unpack.c (Diff revision 5)
     
     

    const EVP_MD md_type = EVP_sha256(); // Example: SHA256
    if (!EVP_DigestInit_ex(mdctx, md_type, NULL)) { /
    Handle error */ }

    Receommended approach as per chat gpt.

  6. 
      
mmiriam
prajesh
  1. Ship It!
  2. 
      
mmiriam
Review request changed

Status: Closed (submitted)

Loading...