Thanks for the mail. The problem does not lie here - it lies in the s3_pkt.c
(if using SSLv3) - in functions like ssl3_write_pending(), do_ssl_write()
etc. Each of them an possibly dump a core because they are not aware that
the SSL context was freed.

-Madhu

-----Original Message-----
From: Vijo Cherian [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 4:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Help with SSL_write


check the return value of SSL_write...

vijo.

On Thu, Aug 08, 2002 at 02:22:53PM -0400, MATHIHALLI,MADHUSUDAN
(HP-Cupertino,ex1) wrote:
> Hi,
>       I have a program something like :
> 
> main () {
> SSL *ssl;
> 
> ssl = SSL_new(...);
> /* handshake is done etc */
> /* BIO is BIO_s_socket() */
> ...
> ...
> alarm(5);
> SSL_write(ssl, ...);
> alarm(0);
> 
> 
> }
> 
> alarm_handler() {
> SSL_set_shutdown(ssl, ...)
> SSL_free(ssl);
> }
> 
> The situation is : SSL_write has not yet completed because the Client has
> not yet acknowledged the data, and the timeout happens. What happens now
?.
> 
> -Madhu
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

-- 
vijo
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to