From 482f47ffe26bf5d4d3ca0f0de81380b3cb061be3 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Fri, 8 Apr 2005 22:31:04 +0000 Subject: include support for 2.0.xx --- src/mod_gnutls.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/mod_gnutls.c b/src/mod_gnutls.c index ad07d5f..71076ef 100644 --- a/src/mod_gnutls.c +++ b/src/mod_gnutls.c @@ -526,8 +526,13 @@ static void gnutls_hooks(apr_pool_t * p) APR_HOOK_MIDDLE); ap_hook_child_init(mod_gnutls_hook_child_init, NULL, NULL, APR_HOOK_MIDDLE); +#if USING_2_1_RECENT ap_hook_http_scheme(mod_gnutls_hook_http_scheme, NULL, NULL, APR_HOOK_MIDDLE); +#else + ap_hook_http_method(mod_gnutls_hook_http_scheme, NULL, NULL, + APR_HOOK_MIDDLE); +#endif ap_hook_default_port(mod_gnutls_hook_default_port, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_pre_config(mod_gnutls_hook_pre_config, NULL, NULL, -- cgit