summaryrefslogtreecommitdiff
path: root/apps/openssl.c
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-03-21 18:59:13 +0100
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-03-30 00:04:37 +0100
commit3a8269b3194f7528e3657cef70fe2db1ed38b755 (patch)
tree94025c25171cb2aa390151825998c388cc02349d /apps/openssl.c
parent02bd2d7f5ce30928baf11226fa31125337251e49 (diff)
downloadopenssl-new-3a8269b3194f7528e3657cef70fe2db1ed38b755.tar.gz
trace: rename the default trace category from 'ANY' to 'ALL'
It seems more intuitive to set `OPENSSL_TRACE=all` instead of `OPENSSL_TRACE=any` to obtain trace output for all categories. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8552)
Diffstat (limited to 'apps/openssl.c')
-rw-r--r--apps/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/openssl.c b/apps/openssl.c
index a63f82b15b..9c0d933d7b 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -226,7 +226,7 @@ static void setup_trace(const char *str)
for (valp = val; (item = strtok(valp, ",")) != NULL; valp = NULL) {
int category = OSSL_trace_get_category_num(item);
- if (category == OSSL_TRACE_CATEGORY_ANY) {
+ if (category == OSSL_TRACE_CATEGORY_ALL) {
while (++category < OSSL_TRACE_CATEGORY_NUM)
setup_trace_category(category);
break;