Hi,
   I am trying to implement State Machine based on the demo application,
that is a server code.
   Like i am writting the client side.
   So when i try to do handshake, by calling SSL_connect, which i have used
memory bios, after that i check for data available, and then i read data and
send to server, on server side i am getting error.

180:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown
protocol:.\ssl\s23_srvr.c:584: shutting down SSL
   My question is which is a good place to do handshake in case we use state
machine, i am doing just after initializing ctx and ssl, and then i send
data 1 time and in performing rest of operations in my receive callback, but
s_server give me error on first packet only.

Thanks.

// Harshvir

2011/5/25 Michael Ströder <mich...@stroeder.com>

> Eric S. Eberhard wrote:
>
>> or ... keep it simple and at least consider using stunnel.
>>
>
> I use stunnel myself in some situations. It's a great tool.
>
> But bear in mind that the application then has no access to authentication
> information of the SSL layer.
>
> Ciao, Michael.
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
>

Reply via email to