<div dir="ltr">HI,<div><br></div><div><br></div><div>I am updating a solution from openssl-1.0.2 to openssl-1.1.0.</div><div><br></div><div>Here I see most of earlier definations of struct like EVP_PKEY_CTX/HMAC_CTX are made local within Openssl.</div><div><br></div><div>To access, thier internal struct member, new API's are introduced.</div><div><br></div><div><br></div><div>Ex. const EVP_CIPHER *test = EVP_des_cbc();</div><div>       int a = test->ctx_size;</div><div><br></div><div>This old code doesnt work with new Openssl-1.1.0.</div><div>     To get this working, code need to be changed to</div><div>      int a = EVP_CIPHER_impl_ctx_size(EVP_des_cbc());</div><div><br></div><div>      Similarly facing issue while using sizeof(HMAC_CTX).</div><div>      After browing/grep inside openssl-1.1.0, didnt saw any replacement for using code like sizeof(HMAC_CTX) outside library from application..</div><div><br></div><div>Error:</div><div>a.c:24: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX'<br></div><div><br></div><div>Any pointer for resolving this, will be helpful.</div><div>Thanks in advance..</div><div><br></div><div><br></div><div><br></div><div>Thanks</div><div>Mukesh</div></div>