[omniORB] Bug in SSL connection handling?

Nick Murtagh murtaghn@tcd.ie
Wed, 13 Mar 2002 17:29:27 +0000


On Wednesday 13 March 2002 17:08, Nick Murtagh wrote:
> On Wednesday 13 March 2002 16:21, Nick Murtagh wrote:
> > omniORB: Unrecoverable error for this endpoint:
> > giop:ssl:murtaghn.sre.tcd.ie:2000, it will no longer be serviced.
>
> Probably has something to do with this comment in
> sslEndpoint::AcceptAndMonitor():
>
>   //break;
>   // XXX We should be able to go back to accept again. But for
>   //     some reason the SSL library SEGV if we do. For the time
>   //     being, we returns 0 which effectively shutdown the endpoint.
>   return 0;

OK, I've nearly fixed it. Problem was calling SSL_free followed by 
SSL_accept which causes a segfault. Needs to call SSL_new etc first.