SSL_shutdown() sends a message to the peer, indicating that the session is
over. If you do SSL_clear() and try to reuse the same SSL structure for
another session, note that you do need to do a SSL_shutdown() to the peer
before that.
SSL_set_shutdown() turns on something called a "preemtive" shutdown. This
means that you can set the shutdown as done, even before you have actually
done so. I do not know why this is required or how this is useful.
Arun.
-----Original Message-----
From: Levy itai <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Tuesday, June 13, 2000 9:45 AM
Subject: SSL_set_shutdown, SSL_shutdown
>Hi,
>
>Can someone tell me what the routines in the above are for ?
>I can see that if I call SSL_free without calling SSL_set_shutdown before,
>it frees all the sessions list in the general context (SSL_CTX) and I
>can't do reuse. If I call SSL_set_shutdown then everything seems to be ok.
>
>I don't understand ...
>
>Itai Levy.
>______________________________________________________________________
>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]