Re: Session not re-used when exported then re-imported.

2003-12-18 Thread Philip L Smith
Lutz Jaenicke wrote: On Wed, Dec 17, 2003 at 03:37:19PM +, Philip L Smith wrote: I connect fine from one process, display it's details using a version of SSL_SESSION_print(out,x) (taken from sess_id.c), then save the session in use to a file ... This is the output from

Re: Session not re-used when exported then re-imported.

2003-12-18 Thread Philip L Smith
Hi Lutz Have run with ssldump, there doesn't seem to be any session_id being sent from the client. I presume it would show up something like session_id[32]=... under the CS Handshake section. What else might I be doing wrong, or have not set ? In overview this is what I do: --- startup

Re: Session not re-used when exported then re-imported.

2003-12-18 Thread Philip L Smith
This may not be the problem but that PEM stuff looks decidedly dodgy. Just do: s = PEM_read_SSL_SESSION(filePtr, NULL, NULL, NULL); Hi Steve This was it ! Not sure where I got it from anyway. All is now running fine with the client sending the session_id in the resume string.

Session not re-used when exported then re-imported.

2003-12-17 Thread Philip L Smith
I'm having a problem with a client reusing an ssl session between processes. I connect fine from one process, display it's details using a version of SSL_SESSION_print(out,x) (taken from sess_id.c), then save the session in use to a file === // save the session to disk FILE* filePtr; char