From 048df00d71fab24f92464a45719e4f5fd452d340 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 19 May 2014 12:24:06 +0000 Subject: [PATCH] Follow-up to r1588987: Fix doc and code confusion about the trust/distrust flag; 1 is distrust, 0 or NULL/- is trust. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1595861 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_ssl_ct.xml | 8 ++++---- modules/ssl/ssl_ct_log_config.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/manual/mod/mod_ssl_ct.xml b/docs/manual/mod/mod_ssl_ct.xml index ca76549774..029fdd0c7c 100644 --- a/docs/manual/mod/mod_ssl_ct.xml +++ b/docs/manual/mod/mod_ssl_ct.xml @@ -453,10 +453,10 @@ ServerHello public key. If the name is not absolute, then it is assumed to be relative to ServerRoot. -
trust
-
This is a generic trust flag. Set this field to 0 to - distrust this log, or to otherwise avoid using it for server certificate - submission.
+
trust/distrust
+
Set this field to 1 to distrust this log, or to otherwise avoid + using it for server certificate submission. Set this to - or + 0 (the default) to treat the log normally.
min-timestamp and max-timestamp
A timestamp is a time as expressed in the number of milliseconds since the diff --git a/modules/ssl/ssl_ct_log_config.c b/modules/ssl/ssl_ct_log_config.c index de068ca57d..1f8c740816 100644 --- a/modules/ssl/ssl_ct_log_config.c +++ b/modules/ssl/ssl_ct_log_config.c @@ -203,7 +203,7 @@ apr_status_t save_log_config_entry(apr_array_header_t *log_config, distrusted = DISTRUSTED; } else if (!strcasecmp(distrusted_str, "0")) { - distrusted = DISTRUSTED; + distrusted = TRUSTED; } else { ap_log_error(APLOG_MARK, APLOG_ERR, 0, ap_server_conf, -- 2.50.1