RE: How to transfer a socket with SSL already initialized

2008-03-18 Thread Gaurav Khanna
Can something like this work as an alternative: Imagine this conversation between consenting peers A--- (can you shut up B, while I grab all your data?) B A(OK) B A grabs all data and then does a shutdown after caching the session to somewhere safe The new process can resume the session

RE: How to transfer a socket with SSL already initialized

2008-03-17 Thread David Schwartz
The vague idea I've gotten so far is that I need to somehow transfer the SSL_SESSION to the new process. Examining the output of SSL_SESSION_print_fp() I see that the session ID and master key change every time SSL is initialized, so simply reinitializing the SSL library in the new process