Lines Matching refs:ssl_ctx

809     result = Curl_ssl_setup_x509_store(cf, data, octx->ssl_ctx);  in ossl_bio_cf_in_read()
2013 if(octx->ssl_ctx) { in ossl_close()
2014 SSL_CTX_free(octx->ssl_ctx); in ossl_close()
2015 octx->ssl_ctx = NULL; in ossl_close()
2369 st = SSL_CTX_get_cert_store(octx->ssl_ctx); in verifystatus()
2824 SSL_CTX_set_max_proto_version(octx->ssl_ctx, TLS1_3_VERSION); in ossl_set_ssl_version_min_max_legacy()
3431 SSL_CTX *ssl_ctx) in Curl_ssl_setup_x509_store() argument
3451 SSL_CTX_set_cert_store(ssl_ctx, cached_store); in Curl_ssl_setup_x509_store()
3454 X509_STORE *store = SSL_CTX_get_cert_store(ssl_ctx); in Curl_ssl_setup_x509_store()
3467 SSL_CTX *ssl_ctx) in Curl_ssl_setup_x509_store() argument
3469 X509_STORE *store = SSL_CTX_get_cert_store(ssl_ctx); in Curl_ssl_setup_x509_store()
3558 DEBUGASSERT(!octx->ssl_ctx); in Curl_ossl_ctx_init()
3559 octx->ssl_ctx = SSL_CTX_new(req_method); in Curl_ossl_ctx_init()
3561 if(!octx->ssl_ctx) { in Curl_ossl_ctx_init()
3576 SSL_CTX_set_msg_callback(octx->ssl_ctx, ossl_trace); in Curl_ossl_ctx_init()
3577 SSL_CTX_set_msg_callback_arg(octx->ssl_ctx, cf); in Curl_ossl_ctx_init()
3657 result = ossl_set_ssl_version_min_max(cf, octx->ssl_ctx); in Curl_ossl_ctx_init()
3670 SSL_CTX_set_options(octx->ssl_ctx, ctx_options); in Curl_ossl_ctx_init()
3674 SSL_CTX_set_mode(octx->ssl_ctx, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER); in Curl_ossl_ctx_init()
3679 if(SSL_CTX_set_alpn_protos(octx->ssl_ctx, alpn, (int)alpn_len)) { in Curl_ossl_ctx_init()
3688 !cert_stuff(data, octx->ssl_ctx, in Curl_ossl_ctx_init()
3702 if(!SSL_CTX_set_cipher_list(octx->ssl_ctx, ciphers)) { in Curl_ossl_ctx_init()
3713 if(!SSL_CTX_set_ciphersuites(octx->ssl_ctx, ciphers13)) { in Curl_ossl_ctx_init()
3724 SSL_CTX_set_post_handshake_auth(octx->ssl_ctx, 1); in Curl_ossl_ctx_init()
3731 if(!SSL_CTX_set1_curves_list(octx->ssl_ctx, curves)) { in Curl_ossl_ctx_init()
3745 if(!SSL_CTX_set_srp_username(octx->ssl_ctx, ssl_username)) { in Curl_ossl_ctx_init()
3749 if(!SSL_CTX_set_srp_password(octx->ssl_ctx, ssl_password)) { in Curl_ossl_ctx_init()
3756 if(!SSL_CTX_set_cipher_list(octx->ssl_ctx, "SRP")) { in Curl_ossl_ctx_init()
3768 SSL_CTX_set_verify(octx->ssl_ctx, in Curl_ossl_ctx_init()
3774 SSL_CTX_set_keylog_callback(octx->ssl_ctx, ossl_keylog_callback); in Curl_ossl_ctx_init()
3783 SSL_CTX_set_session_cache_mode(octx->ssl_ctx, in Curl_ossl_ctx_init()
3786 SSL_CTX_sess_set_new_cb(octx->ssl_ctx, cb_new_session); in Curl_ossl_ctx_init()
3795 result = Curl_ssl_setup_x509_store(cf, data, octx->ssl_ctx); in Curl_ossl_ctx_init()
3801 result = (*data->set.ssl.fsslctx)(data, octx->ssl_ctx, in Curl_ossl_ctx_init()
3813 octx->ssl = SSL_new(octx->ssl_ctx); in Curl_ossl_ctx_init()
4148 CURLcode result = Curl_ssl_setup_x509_store(cf, data, octx->ssl_ctx);
5326 (void *)octx->ssl_ctx : (void *)octx->ssl;