Lines Matching refs:s_ctx2

78 static SSL_CTX *s_ctx2 = NULL;  variable
219 if (s_ctx2 != NULL && sn_server2 != NULL && in servername_cb()
222 SSL_set_SSL_CTX(s, s_ctx2); in servername_cb()
235 if (sn_expect == 2 && ctx == s_ctx2) in verify_servername()
238 if (ctx == s_ctx2) in verify_servername()
383 if (SSL_get_SSL_CTX(server) == s_ctx2) { in verify_alpn()
1401 s_ctx2 = SSL_CTX_new_ex(libctx, NULL, meth); /* no SSL_CTX_dup! */ in main()
1402 if ((c_ctx == NULL) || (s_ctx == NULL) || (s_ctx2 == NULL)) { in main()
1413 SSL_CTX_set_security_level(s_ctx2, 0); in main()
1457 if (!SSL_CTX_set_cipher_list(s_ctx2, cipher)) { in main()
1472 || !SSL_CTX_set_cipher_list(s_ctx2, cipher)) { in main()
1481 || !SSL_CTX_set_ciphersuites(s_ctx2, ciphersuites)) { in main()
1498 SSL_CONF_CTX_set_ssl_ctx(s_cctx2, s_ctx2); in main()
1543 if (!SSL_CTX_set0_tmp_dh_pkey(s_ctx2, dhpkey)) in main()
1551 || !(SSL_CTX_load_verify_file(s_ctx2, CAfile) in main()
1552 || SSL_CTX_load_verify_dir(s_ctx2, CApath)) in main()
1553 || !SSL_CTX_set_default_verify_paths(s_ctx2) in main()
1562 !SSL_CTX_set_default_ctlog_list_file(s_ctx2) || in main()
1573 SSL_CTX_set_verify(s_ctx2, in main()
1578 SSL_CTX_set_cert_verify_callback(s_ctx2, app_verify_callback, in main()
1592 !SSL_CTX_set_session_id_context(s_ctx2, (void *)&session_id_context, in main()
1615 SSL_CTX_set_psk_server_callback(s_ctx2, psk_server_callback); in main()
1619 !SSL_CTX_use_psk_identity_hint(s_ctx2, "ctx server identity_hint")) { in main()
1638 SSL_CTX_set_npn_advertised_cb(s_ctx2, cb_server_npn, NULL); in main()
1642 SSL_CTX_set_npn_advertised_cb(s_ctx2, cb_server_rejects_npn, NULL); in main()
1665 !SSL_CTX_use_serverinfo_file(s_ctx2, serverinfo_file)) { in main()
1691 || !SSL_CTX_add_server_custom_ext(s_ctx2, CUSTOM_EXT_TYPE_0, in main()
1699 || !SSL_CTX_add_server_custom_ext(s_ctx2, CUSTOM_EXT_TYPE_1, in main()
1707 || !SSL_CTX_add_server_custom_ext(s_ctx2, CUSTOM_EXT_TYPE_2, in main()
1715 || !SSL_CTX_add_server_custom_ext(s_ctx2, CUSTOM_EXT_TYPE_3, in main()
1727 SSL_CTX_set_alpn_select_cb(s_ctx2, cb_server_alpn, alpn_server2); in main()
1911 SSL_CTX_free(s_ctx2); in main()