Home
last modified time | relevance | path

Searched refs:the_ssl_ctx (Results 1 – 1 of 1) sorted by relevance

/external/libevent/test/
Dregress_ssl.c165 static SSL_CTX *the_ssl_ctx = NULL; variable
170 if (the_ssl_ctx) in get_ssl_ctx()
171 return the_ssl_ctx; in get_ssl_ctx()
172 the_ssl_ctx = SSL_CTX_new(SSLv23_method()); in get_ssl_ctx()
173 if (!the_ssl_ctx) in get_ssl_ctx()
177 SSL_CTX_set_options(the_ssl_ctx, SSL_OP_NO_TLSv1_2); in get_ssl_ctx()
180 SSL_CTX_set_options(the_ssl_ctx, SSL_OP_NO_TLSv1_1); in get_ssl_ctx()
183 return the_ssl_ctx; in get_ssl_ctx()