First i want to thank you both for your quick answers.

It's quite hard to change the design as its an old
application which must be upgraded to SSL.

Maybe what i've said was not clear enough.
In fact, i don't want two processes to be able to
communicate on the socket at the same time.

I just would like the process which has accepted the
connection to give the SSL object to a second process.
Then the first process doesn't need the SSL object
anymore.





--- Darryl Miles <[EMAIL PROTECTED]> a
écrit :

> Marek Marcola wrote:
>  >[EMAIL PROTECTED] writes:
> >> For the moment, i have a kind of supervisor
> which,
> >> accept a connection, read some datas on the
> socket and
> >> then start the process which is able to handle
> this
> >> datas. ( using createprocess/execv). The socket's
> >> handle is shared to this process and therefor the
> >> process is able to exchange datas with the
> client.
> >>
> >>
> >> Now i want  my application to use SSL_V3. But it
> looks
> >> like there is a problem, as it seems there is no
> way
> >> to share an SSL session between diferents
> process.
> >>
> >> I really hope that there is a way to do it. And i
> >> would be very happy if someone can help me.
> 
> Marek is correct.  An SSL session is stateful and
> the encyption employed 
> can be stateful too (CBC).  So what you are asking
> is for that two now 
> independant SSL handles to both be able to send and
> receive data to a 
> single endpoint at the other side.
> 
> If you step back for a moment, the purpose of an SSL
> session is to have 
> a single _PRIVATE_ channel of communication between
> the two endpoints. 
> Sharing goes directly against the privacy part.
> 
> 
> Rethink your design or your requirement for SSL.
> 
> Darryl
>
______________________________________________________________________
> OpenSSL Project                                
> http://www.openssl.org
> User Support Mailing List                   
> openssl-users@openssl.org
> Automated List Manager                          
> [EMAIL PROTECTED]
> 



        

        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to