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
This commit is contained in:
Jeff Trawick
2014-05-19 12:24:06 +00:00
parent 02d9ad3819
commit 048df00d71
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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,