public virtual void Close() { Stream = null; if (web != IntPtr.Zero) { OpenSSL.BIO_free_all(web); } }
public void Close() { if (in_bio != IntPtr.Zero) { OpenSSL.BIO_free_all(in_bio); } if (ctx != IntPtr.Zero) { OpenSSL.SSL_CTX_free(ctx); } }