[BTLS]: Improve error handling. (#4317)
[mono.git] / mono / btls / btls-ssl.c
index dda74ec4b5eae5788dd0015565be95f576f9ef5c..eca323ce2ae27a194018f0180f89131d3a34443d 100644 (file)
@@ -36,8 +36,6 @@ mono_btls_ssl_new (MonoBtlsSslCtx *ctx)
        ptr->ctx = mono_btls_ssl_ctx_up_ref (ctx);
        ptr->ssl = SSL_new (mono_btls_ssl_ctx_get_ctx (ptr->ctx));
 
-       SSL_set_options (ptr->ssl, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3);
-
        return ptr;
 }