Rehandshake problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 13/11/15 08:37, Ignacio Casal wrote:
> Hey guys,
> 
> I am having a specific problem that I do not seem to find a solution for.
> 
> - I have a server and a client that handshake properly
> - the server will read from the client and the client from the server a
> few bytes
> - the client will try to read again
> - the server will try to handshake again by calling SSL_renegotiate and
> SSL_do_handshake. I get no errors in these calls.
> - then I would expect the client to exit from the read call with an
> error saying that needs to handshake again, instead it stays blocked on
> the read until the server sends some data. But then I get an error
> server side that there was no proper handshaking.
> 
> Do you know how to get a notification client side that the client needs
> to handshake again when blocked on a read or write?

Which OpenSSL version/platform are you using? Can you get a pcap packet
trace and post the specific errors that you are receiving?

You would normally expect to get an SSL_ERROR_WANT_READ on the client
side when the server sends the HelloRequest.

Matt



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux