On Wed, Jun 09, 1999 at 11:36:50AM -0400, Titchener, Tom wrote:

>> In s3_pkt.c, there is a function called ssl3_write_bytes(). In that
>> function, there is a statement :
>>  
>> s->handshake_func(s)
>>  
>> If the server is suddenly shutdown when the client is writing bytes to the
>> server, this statement causes a segment fault error since s->handshake_func
>> is NULL. [...]

> I hit this crash when I failed to call SSL_set_accept_state() in my server.
> Adding SSL_set_accept_state() to my server solved the problem.

As of OpenSSL 0.9.3, this happens automatically if the program
calls SSL_accept without having called SSL_set_accept_state.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to