SSL_OP_NO_TLSv1
.value = SSL_OP_NO_TLSv1,
.value = SSL_OP_NO_TLSv1,
options |= SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1;
options |= SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_2;
if ((options & SSL_OP_NO_TLSv1) == 0)
if ((options & SSL_OP_NO_TLSv1) && min_version < TLS1_VERSION)
SSL_CTX_clear_options(ssl_ctx, SSL_OP_NO_TLSv1);
SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_TLSv1);
ssl_ctx_options |= SSL_OP_NO_TLSv1;