diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mod_gnutls.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) | |||
| 526 | APR_HOOK_MIDDLE); | 526 | APR_HOOK_MIDDLE); |
| 527 | ap_hook_child_init(mod_gnutls_hook_child_init, NULL, NULL, | 527 | ap_hook_child_init(mod_gnutls_hook_child_init, NULL, NULL, |
| 528 | APR_HOOK_MIDDLE); | 528 | APR_HOOK_MIDDLE); |
| 529 | #if USING_2_1_RECENT | ||
| 529 | ap_hook_http_scheme(mod_gnutls_hook_http_scheme, NULL, NULL, | 530 | ap_hook_http_scheme(mod_gnutls_hook_http_scheme, NULL, NULL, |
| 530 | APR_HOOK_MIDDLE); | 531 | APR_HOOK_MIDDLE); |
| 532 | #else | ||
| 533 | ap_hook_http_method(mod_gnutls_hook_http_scheme, NULL, NULL, | ||
| 534 | APR_HOOK_MIDDLE); | ||
| 535 | #endif | ||
| 531 | ap_hook_default_port(mod_gnutls_hook_default_port, NULL, NULL, | 536 | ap_hook_default_port(mod_gnutls_hook_default_port, NULL, NULL, |
| 532 | APR_HOOK_MIDDLE); | 537 | APR_HOOK_MIDDLE); |
| 533 | ap_hook_pre_config(mod_gnutls_hook_pre_config, NULL, NULL, | 538 | ap_hook_pre_config(mod_gnutls_hook_pre_config, NULL, NULL, |
