diff options
-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); |