From 7854add288a2b22a072d430460a21ebac547fb37 Mon Sep 17 00:00:00 2001 From: Nokis Mavrogiannopoulos Date: Sun, 2 Dec 2007 23:16:09 +0000 Subject: report the missing GnuTLSPriorities for the gnutls enabled hosts only. --- src/gnutls_hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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