Hello, > I look at couple example about using abstraction layer BIO over socket > and attach the SSL object to the BIO. When time to delete, they delete > SSL and socket only without delete BIO. I wonder why ?? > > ssl = SSL_new(ctx); > Sbio = BIO_new_sock(sock, BIO_NO_CLOSE): > SSL_set_bio(ssl, sbio,sbio); > > > At the delete time: > > SSL_shutdown(ssl); > SSL_free(ssl); > Close(s); > > How about Sbio ? Please help me to understand this . SSL_free() free this BIO.
Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]