> From: owner-openssl-us...@openssl.org On Behalf Of Kyle Hamilton
> Sent: Friday, November 14, 2014 22:03

> SSL_OP_* are bitmasks.

> SSL_CTX_set_options(conn->ssl_ctx, SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3);

> On 11/14/2014 12:37 AM, Vaghasiya, Nimesh wrote:
>            conn->ssl_ctx = SSL_CTX_new(SSLv23_server_method());
>          SSL_CTX_set_options(conn->ssl_ctx, SSL_OP_NO_SSLv2);
>            SSL_CTX_set_options(conn->ssl_ctx, SSL_OP_NO_SSLv3);

Although _set_options is "oritive" i.e. only sets bits on -- so 
the sequence of two calls does work, although a bit less clear.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to