> Hi DS > How do we handle closure in openssl??? . I just call: [snip] > But sometimes I receive return 0 for both call. I do not know why, so I > just call one time > SSL_shutdown(ssl); > SSl_free(ssl); > close(sock); > > Please help.
It depends on how you created the SSL connection in the first place. You may also need to free one or more BIOs. How did you create/open the SSL connection? DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]