On Tue, Jul 17, 2001 at 08:36:47AM +0000, skyper wrote:
>     printf("FIRST ssl_connect: %d\n", SSL_connect(ssl));
>     printf("ssl version:    %s\n", SSL_get_version(ssl));
>     SSL_clear(ssl);
>     SSL_free(ssl);
>     /* tcp connection is still established...good */
>     /* we do not free ctx here..this is not the problem */
> 
>     ctx2 = SSL_CTX_new(SSLv23_client_method());
>     ssl2 = SSL_new(ctx2);
>     SSL_set_fd(ssl2, sox);
>     printf("SECOND SSL_connect() %d\n", SSL_connect(ssl2));
> 
> Why ? The tcp connection is still established and the first
> ssl-connection was (ssl-)closed perfectly.

There was nothing (ssl-)closed perfectly. man SSL_shutdown()
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to