public override void Close() { base.Close(); if (ctx != IntPtr.Zero) { OpenSSL.SSL_CTX_free(ctx); } }
public void Close() { if (in_bio != IntPtr.Zero) { OpenSSL.BIO_free_all(in_bio); } if (ctx != IntPtr.Zero) { OpenSSL.SSL_CTX_free(ctx); } }