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

/freebsd-12-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_ssl.c152 static SSL_CTX *the_ssl_ctx = NULL; variable
157 if (the_ssl_ctx)
158 return the_ssl_ctx;
159 the_ssl_ctx = SSL_CTX_new(SSLv23_method());
160 if (!the_ssl_ctx)
164 SSL_CTX_set_options(the_ssl_ctx, SSL_OP_NO_TLSv1_2);
167 SSL_CTX_set_options(the_ssl_ctx, SSL_OP_NO_TLSv1_1);
170 return the_ssl_ctx;
/freebsd-12-stable/contrib/libevent/test/
H A Dregress_ssl.c165 static SSL_CTX *the_ssl_ctx = NULL; variable
170 if (the_ssl_ctx)
171 return the_ssl_ctx;
172 the_ssl_ctx = SSL_CTX_new(SSLv23_method());
173 if (!the_ssl_ctx)
177 SSL_CTX_set_options(the_ssl_ctx, SSL_OP_NO_TLSv1_2);
180 SSL_CTX_set_options(the_ssl_ctx, SSL_OP_NO_TLSv1_1);
183 return the_ssl_ctx;

Completed in 113 milliseconds