Manual Pages for UNIX Darwin command on man SSL_free
MyWebUniversity

Manual Pages for UNIX Darwin command on man SSL_free

SSLfree(3) OpenSSL SSLfree(3)

NAME

SSLfree - free an allocated SSL structure

SYNOPSIS

#include

void SSLfree(SSL *ssl);

DESCRIPTION

SSLfree() decrements the reference count of ssssll, and removes the SSL structure pointed to by ssssll and frees up the allocated memory if the the reference count has reached 0. NNOOTTEESS SSLfree() also calls the free()ing procedures for indirectly affected items, if applicable: the buffering BIO, the read and write BIOs, cipher lists specially created for this ssssll, the SSSSLLSSEESSSSIIOONN. Do not explicitly free these indirectly freed up items before or after calling SSLfree(), as trying to free things twice may lead to program failure. The ssl session has reference counts from two users: the SSL object, for which the reference count is removed by SSLfree() and the internal session cache. If the session is considered bad, because SSLshutdown(3) was not called for the connection and SSLsetshutdown(3) was not used to set the SSLSENTSHUTDOWN state, the session will also be removed from the session cache as required by RFC2246.

RETURN VALUES

SSLfree() does not provide diagnostic information. SSLnew(3), SSLclear(3), SSLshutdown(3), SSLsetshutdown(3), ssl(3)

0.9.7l 2001-02-13 SSLfree(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™