summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/manual/mod/mod_ssl_ct.xml8
-rw-r--r--modules/ssl/ssl_ct_log_config.c2
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</description>
public key. If the name is not absolute, then it is assumed to be relative
to <directive module="core">ServerRoot</directive>.</dd>
- <dt><em>trust</em></dt>
- <dd>This is a generic <q>trust</q> flag. Set this field to <em>0</em> to
- distrust this log, or to otherwise avoid using it for server certificate
- submission.</dd>
+ <dt><em>trust/distrust</em></dt>
+ <dd>Set this field to <em>1</em> to distrust this log, or to otherwise avoid
+ using it for server certificate submission. Set this to <em>-</em> or
+ <em>0</em> (the default) to treat the log normally.</dd>
<dt><em>min-timestamp</em> and <em>max-timestamp</em></dt>
<dd>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,