Struct mesalink::libssl::ssl::MESALINK_METHOD [−][src]
pub struct MESALINK_METHOD { /* fields omitted */ }
Expand description
A dispatch structure describing the internal ssl library methods/functions which implement the various protocol versions such as TLS v1.2.
This is a structure describing a specific TLS protocol version. It can be
created with a method like TLSv1_2_client_method
. Then SSL_CTX_new
can
consume it and create a new context. Note that a SSL_METHOD
object is
implicitly freed in SSL_CTX_new
. To avoid double free, do NOT reuse
SSL_METHOD
objects; always create new ones when needed.