From 2226711353fe0895769ba4c2bc5bf7017cbc4d89 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 02 Dec 2007 23:16:09 +0000 Subject: report the missing GnuTLSPriorities for the gnutls enabled hosts only. --- 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, sc->cache_config = sc_base->cache_config; /* Check if the priorities have been set */ - if (sc->priorities == NULL) { + if (sc->priorities == NULL && sc->enabled == GNUTLS_ENABLED_TRUE) { ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s, "GnuTLS: Host '%s:%d' is missing the GnuTLSPriorities directive!", s->server_hostname, s->port); -- cgit v0.9.2