<div dir="ltr">Hello, <div><br></div><div>I wanted to store the freshly negotiated ssl/tls session in a file and reuse it (via SSL_set_session()), in the next handshake. I was not able to do that since the handshake got terminated giving a fatal error - illegal parameters (47).</div><div><br>Although this works perfectly fine when I store the session in a global variable at the client side and use it the next time. But I need to use the same session across multiple clients (I hope session does not store the IP and DNS entries).</div><div><br></div><div>I had the following questions-</div><div>1). Why is the session, when stored in an external file, resulting into the "illegal parameter" error?<br>2). Is there some other way to handle the same session among different client *.c files? Something better than writing down the session in a file (well, even this does not seems to work for me!)</div><div><br></div><div>It'll be great if someone could help me out on this.</div><div>Thanks in advance.</div><div><br></div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Regards<br>Shubham Chauhan<br></div></div>
</div></div>