if possible. We require a minimum TLS version of TLSv1.2.
 */
if (!SSL_CTX_set_min_proto_version(ctx, TLS1_2_VERSION)) {
    printf(&quot;Failed to set the minimum TLS protocol version\n&quot;);
    goto end;
}</code></pre>

<p>That is all the setup that we need to do for the <b>SSL_CTX</b>, so next we need to create an <b>SSL</b> object to represent the TLS connection. In a real application we might expect to be creating more than one TLS connection over time. In that case we would expect to reuse the <b>S