Changeset 235e109 in mod_gnutls for src/gnutls_hooks.c
- Timestamp:
- Apr 9, 2018, 2:24:59 AM (3 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, master, proxy-ticket, upstream
- Children:
- 23e98b3
- Parents:
- fe21671
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
rfe21671 r235e109 22 22 #include "gnutls_cache.h" 23 23 #include "gnutls_ocsp.h" 24 #include "gnutls_util.h" 24 25 #include "http_vhost.h" 25 26 #include "ap_mpm.h" … … 957 958 static void create_gnutls_handle(conn_rec * c) 958 959 { 959 /* Get mod_gnutls server configuration */960 mgs_srvconf_rec *sc = (mgs_srvconf_rec *)961 ap_get_module_config(c->base_server->module_config, &gnutls_module);962 963 960 _gnutls_log(debug_log_fp, "%s: %d\n", __func__, __LINE__); 964 961 965 962 /* Get connection specific configuration */ 966 mgs_handle_t *ctxt = (mgs_handle_t *) ap_get_module_config(c->conn_config, &gnutls_module); 967 if (ctxt == NULL) 968 { 969 ctxt = apr_pcalloc(c->pool, sizeof (*ctxt)); 970 ap_set_module_config(c->conn_config, &gnutls_module, ctxt); 971 ctxt->is_proxy = GNUTLS_ENABLED_FALSE; 972 } 963 mgs_handle_t *ctxt = init_gnutls_ctxt(c); 973 964 ctxt->enabled = GNUTLS_ENABLED_TRUE; 974 ctxt->c = c;975 ctxt->sc = sc;976 965 ctxt->status = 0; 977 966 ctxt->input_rc = APR_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.