Question,
Why does the UNIX process display [error:00000000:lib(0):func(0):reason(0)]?

I have written a simple Winform application (based on .NET Framework 2.0) that
tries to establish an SSL connection with a server-side UNIX (SunOS version 
5.10) process
that is using openssl-0.9.8a. When i run the application, the UNIX process
displays the following message "[error:00000000:lib(0):func(0):reason(0)]"
when it calls the SSL_accept() call.

Code snippet of application,

...
try
{
   TcpClient client = new System.Net.Sockets.TcpClient(hostName, port);
   SslStream sslStream = new SslStream(client.GetStream(), true);
   sslStream.AuthenticateAsClient(targetHost, null, SslProtocols.Ssl3, true);
}
...

Code snippet of UNIX process,

...
int err = SSL_accept((SSL *)SockObj->SSLCtx);
...

Reply via email to