<div dir="ltr">Hi,<div><br></div><div>  I am trying to adopt OpenSSL 1.1.0 for my code,</div><div>  I was able to move away from pointers for RSA etc to appropriate functions, but i got stuck at session</div><div> </div><div>  </div><div> in my code need to assign back the SSL pointer with the cipher, session id etc</div><div> as below</div><div><br></div><div><div>  ssl_session->client_version = client_version;</div><div>  ssl_session->session->cipher = ssl_session->s3->tmp.new_cipher = pending_cipher;</div><div>  ssl_session->session->session_id_length = ssl_id.getLength();</div><div>   </div><div>  as now ssl_method_st  has been moved to ssl_locl.h and I am not supposed to include that,</div><div>  is there any API to set these variables?</div><div>  only code reference I saw is ssl/.statem/statem_srvr.c, where it uses ssl_locl.h directly.</div><div><br></div>  My question is 1) is operations like setting Client version , cipher, so ,session, allowed with 1.1?<div>                  2)so,does API exist for it?</div>-- <br><div class="gmail_signature"><br>                                                                                      Stiju Easo<br><br>   <br> The unexamined life is not worth living for man.<br>      Socrates, in Plato, Dialogues, Apology<br>      Greek philosopher in Athens (469 BC - 399 BC)<br><br></div>
</div></div>