diff options
| author | 2007-12-02 23:16:09 +0000 | |
|---|---|---|
| committer | 2007-12-02 23:16:09 +0000 | |
| commit | 7854add288a2b22a072d430460a21ebac547fb37 (patch) | |
| tree | 75a151bcb31db42ff05b28ceb1eeb2f8233f5906 | |
| parent | bfc09b68df91fd2a4169cbd23b7c10297794d031 (diff) | |
report the missing GnuTLSPriorities for the gnutls enabled hosts only.
| -rw-r--r-- | src/gnutls_hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index 62e51aa..55f8e5f 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c | |||
| @@ -361,7 +361,7 @@ mgs_hook_post_config(apr_pool_t * p, apr_pool_t * plog, | |||
| 361 | sc->cache_config = sc_base->cache_config; | 361 | sc->cache_config = sc_base->cache_config; |
| 362 | 362 | ||
| 363 | /* Check if the priorities have been set */ | 363 | /* Check if the priorities have been set */ |
| 364 | if (sc->priorities == NULL) { | 364 | if (sc->priorities == NULL && sc->enabled == GNUTLS_ENABLED_TRUE) { |
| 365 | ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s, | 365 | ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s, |
| 366 | "GnuTLS: Host '%s:%d' is missing the GnuTLSPriorities directive!", | 366 | "GnuTLS: Host '%s:%d' is missing the GnuTLSPriorities directive!", |
| 367 | s->server_hostname, s->port); | 367 | s->server_hostname, s->port); |
